This function creates open dialog.
object.CreateOpenDialog()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Show the dialog and display the selected file name.
Dim aDialogue
set aDialogue = Profile.CreateOpenDialog
aDialogue.Title = "Open Recent Notes"
aDialogue.Filter = "*.txt||*.rtf||*.doc||*.*||"
aDialogue.FileName = "MyNotes.txt"
aDialogue.Execute
Profile.MsgBox("The selected file name is """ & aDialogue.FileName & """")