ISProfile.CreateOpenDialog

Description

This function creates open dialog.

Syntax

object.CreateOpenDialog()

Part Attribute Type Description
object Required
The object always implements the ISProfile interface

Return Value

ISOpenDialog

Returns the open dialog.

Example

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 & """")
Note:

Version information

Added in v7.8.0