1. open a file from a directory
- Posted by barok59 <barok59 at gmail.com> Jul 07, 2006
- 489 views
Hello, i've got an other problem with my program. In fact, i want to chose files from a specific directory, and i don't know how to do. I tried to use }}} <eucode>getOpenFileName()</eucode> {{{ , but i can't give my choosen directory from it. Can you help me? thanks
2. Re: open a file from a directory
- Posted by "Greg Haberek" <ghaberek at gmail.com> Jul 07, 2006
- 492 views
> I tried to use }}} <eucode>getOpenFileName()</eucode> {{{ , but i can't give my choosen > directory from it. The documentation for getOpenFileName() is a bit confusing. It says the 2nd parameter is a 'file' but it can also be a 'path'. Try this:
filename = getOpenFileName( MyWindow, "default\\path\\here\\", {} )
~Greg