How to assign directory for GetOpenFilename method

G

Guest

How would I assign a directory in code to first appear after the GetOpenFilename is used? Also is there any way to have the filename selected in that dialog box to appear in the text box?
 
V

Vasant Nanavati

I don't believe there is an easy way to have the filename appear in the
textbox. For the directory, you probably need to use (ChDrive and) ChDir to
change the "current" directory.

--

Vasant

Tim_M said:
How would I assign a directory in code to first appear after the
GetOpenFilename is used? Also is there any way to have the filename
selected in that dialog box to appear in the text box?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top