Selected OpenFileDialog Members The following is a brief (Web hosting forums)
Selected OpenFileDialog Members The following is a brief description of some of the more important members of the OpenFileDialog class: AddExtension property Gets or sets a Boolean value that determines whether the default file extension is automatically added to the Filename property if the user fails to enter an extension. Its default value is True. CheckFileExists property Sets or retrieves a Boolean value indicating whether a warning message should be displayed if the user enters the name of a file that does not exist. The default value is True. DefaultExt property Gets or sets a String that defines the default file extension. The string should consist of the file extension only without a period. FileName property Returns a string that contains the fully qualified name (that is, complete path and filename) of the file selected by the user. If no file is selected, the property returns an empty string. FileNames property Returns a String array that contains the fully qualified names (that is, complete paths and filenames) of the files selected by the user. If no file is selected, the property returns an empty array. Note that this property returns a single-element array if the Multiselect property is False and the user selects a file. Filter property Gets or sets a String containing the current filter, which determines the items that appear in the “Files of type” drop-down listbox. A single item consists of a file description, a vertical bar, and the file extension (usually “*.” plus the file extension). If there are multiple extensions in a single item, they are separated by semicolons. If there are multiple items, they are separated by vertical bars. For example, the following code fragment assigns a filter string to a String variable: sFilter = oFS.Filter=”Text files (*.txt; *.vb)|*.txt;*.vb|” & _ “Visual Basic files (*.vb)|*.vb|” & _ “All files (*.*)|*.*” FilterIndex property Gets or sets an Integer value that determines which of the items defined by the Filter property are selected. The index is one-based, rather than zero-based. When the dialog is first displayed and no FilterIndex value is specified, it defaults to 1. When the method returns, its value indicates which filter item was selected by the user. InitialDirectory property Gets or sets a String that defines the directory initially displayed by the OpenFileDialog dialog
Hint: If you are looking for high quality webhost to host and run your jsp application check Vision web hosting jsp services