Method GetOpenFileName

GImageX

Method Reference (COM)

GetOpenFileName

Gets an existing filename.

GetOpenFileName()

 

Parameters

None.

 

Return Value

Success: Returns 0.
Failure: Returns non-zero.

After a successful call the following properties will contain information:
FileName

 

Remarks

None.

 

Related

GetSaveFileName

 

Example

Set objWIM = WScript.CreateObject("GImageX.GImageXCtrl")

objWIM.GetOpenFileName
WScript.Echo objWIM.FileName

Set objWIM = Nothing