gginnj has asked for the wisdom of the Perl Monks concerning the following question:

Is there a way to add a filename box to the GUI screen of Win32::GUI? This would be a box that allows you select the drive, then directory, and filename. If it's in another module, will it function with Win32::GUI 's screen layout? Thanks GG UPDATE: Never mind, I didn't realize there was a GetOpenFileName() already in Win32::GUI - That seems to work just fine!

Replies are listed 'Best First'.
Re: Browse for filename in Win32::GUI?
by biohisham (Priest) on May 09, 2010 at 06:04 UTC
    Have a look at Win32::GUI::BrowseForFolder and Win32::GUI::GetOpenFileName...

    The Win32::GUI::BrowseForFolder() has options that can let you browse at the Drive level only or the Folder level only..


    Excellence is an Endeavor of Persistence. Chance Favors a Prepared Mind.
      I must have skipped over those functions. I also found the getopenfilename() function, which does exactly what I need. But I'll look at that one as well to see if it will do anything more/less than I need. Thanks.