Click or drag to resize

StandardFileDialog.InitialDirectory Property

X#
Set the initial directory for the dialog window. The tree control will be initially positioned accordingly.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL PROPERTY InitialDirectory AS USUAL GET SET 
Request Example View Source

Property Value

Type: Usual
Set the initial directory for the dialog window. The tree control will be initially positioned accordingly.
Examples
This example sets the initial directory to "C:\CAVO2x\SAMPLES":
X#
1METHOD MyOpen() CLASS StandardShellWindow
2LOCAL oOpenDialog AS OpenDialog
3oOpenDialog := OpenDialog{SELF}
4oOpenDialog:InitialDirectory := "C:\CAVO2x\SAMPLES"
5oOpenDialog:Show()
See Also