Example-VB | Example-VC++ |
Enables a user to select a file from a local or redirected drive. Version 2.0 of Imaging for Windows Professional Edition supports 1.x server file selection, and queries a 3.x server document repository.
Depending on the setting of the DialogOption parameter, either an Open or a Save As dialog box is displayed.
Ö | Imaging for Windows Professional Edition V1.0, V1.1, and V2.0 |
Ö | Imaging for Windows 95 and 98 |
Ö | Imaging for Windows NT 4.0 |
Image Admin control
object.ShowFileDialog (DialogOption[,hParentWnd])
Parameter | Data Type | Description |
DialogOption | Integer | Indicates what type of file dialog box will be displayed ConstantSettingDescription
OpenDlg0Open or Select |
hParentWnd | hWnd | (Optional) Assigns a parent window handle to the displayed dialog box |
The file specification selected by the user from the dialog box is set in the Image property when the method returns the value.
If a help file is not specified in the HelpFile property, a Help button will not be shown. This is true even if the show help flag is set in the Flags property.
If a Parent window is not specified, the dialog box will behave as a modeless dialog box.