I've been trying to get the "Make New Folder" button to appear in the
BrowseForFolder dialog.  I think that BIF_NEWDIALOGSTYLE (0x0040?) needs to be
set.  Tried that with no such luck.  According to Microsoft's info:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/shellcc/platform/shell/reference/structures/browseinfo.asp

OLEInitialize or CoInitialize must be done before calling the dialog.  I tried
this with no luck.

My Code:
Win32::OLE->Initialize(Win32::OLE::COINIT_OLEINITIALIZE);
my $dir=$mw->BrowseForFolder(-root=>0x0040);


Can anyone give me the correct couple of lines of code to make this work?
Many thanks
Eric

Reply via email to