I am also interested in 'Browse for Folder'

I tried the code

$folder = Win32::GUI::BrowseForFolder(
* root => "C:\\Program Files",
* includefiles => 1,
        );

and was given the following error message

Your vendor has not defined Win32::GUI macro BrowseForFolder, used at E:\scripts
\dev\gui1.pl line 11. at C:/Perl/site/lib/Win32/GUI.pm line 347.
22 returned


has anyone got any idea why I get this?

I downloaded Win32::GUI yesterday as a PPM from activestate

Am I using an old version ?

Thanks



Regards


Mike Solomon
Technical Manager
Work     01582 831125
Mobile 07941 537 172
email   msolomon@3s-technology.com

==================================================================================
Important: Any views or opinions expressed by the sender do not necessarily
represent those of the 3s Group. This e-mail and any attachment(s)
are intended for the above named only and may be confidential.  If you are not
the named recipient please notify us immediately.  You must not copy or disclose
the contents to any third party.

Internet e-mail is not a fully secure communications medium.  Please take
this into account when sending e-mail to us.
Any attachment(s) to this e-mail are believed to be free from virus, but it
is the responsibility of the recipient to make all the necessary virus
checks.

www.3s-group.com

=========================================================================

-----Original Message-----
From:   Yoda [mailto:yoda@planetunreal.com]
Sent:   04 January 2001 21:12
To:     perl-win32-gui@httptech.com
Subject:        RE: [perl-win32-gui] BrowseForFolder?

<cut from methods.html>
BrowseForFolder( OPTIONS )
Displays the standard "Browse For Folder" dialog box. Returns the selected item's name, or undef if no item was selected or an error occurred.

Note that BrowseForFolder must be called as a standalone function, not as a method.
Example:
$folder = Win32::GUI::BrowseForFolder(
* root => "C:\\Program Files",
* includefiles => 1,
        );
<end cut>
* Yoda
PlanetUnreal
-----Original Message-----
From:   owner-perl-win32-gui@httptech.com
[mailto:owner-perl-win32-gui@httptech.com]On Behalf Of Joel Oliveira
Sent:   Thursday, January 04, 2001 9:18 PM
To:     perl-win32-gui@httptech.com
Subject:        [perl-win32-gui] BrowseForFolder?


Hello All,
Can I get something like BrowseForFolder in the Win32:GUI?
Thanks,

Joel Oliveira

--------------------------------------------