Opening a file from a set folder

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all...

I need to open files from folders x, y or z. When the file dialog opens it
either displayes the default path or the last used.

So how can I set the file dialog box to open from the desired folder.

Thanks
M.
 
Dear M

Try this :-

Make the desired directory the current directory using the followin
statement in your sub :-

curdir (path)
then use the getopenfilename method

This will show the path that you have set as the current directory a
the default folder.


Best regards


Deepa
 

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

Back
Top