Re: getOpenFileName()

new topic     » goto parent     » topic index » view thread      » older message » newer message

don cole wrote:
> 
> VOID=getOpenFileName()
> 
> Always open in folder "Documents".
> 
> How can I change this?

You can pass a path to "file" parameter of the function:

VOID = getOpenFileName( 0, "C:\\WINDOWS\\system32\\", {"All Files", "*.*"} )


You *MUST* end the path in a backslash, else Windows will fill in the last part
as the filename to choose.

HTH,

-Greg

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu