PC Review


Reply
Thread Tools Rate Thread

Browse Folder dialog with option to make New Folder

 
 
Bradley C. Hammerstrom
Guest
Posts: n/a
 
      5th Jan 2004
A2K

I am using SHGetPathFromIDList Lib "shell32.dll" and SHBrowseForFolder Lib
"shell32.dll" to let the user select a destination folder.

But I would like to call the version of that dialog which also allows the
user-browser to create a new folder if the desired destination does not
exist.

Brad H.


 
Reply With Quote
 
 
 
 
Douglas J. Steele
Guest
Posts: n/a
 
      5th Jan 2004
I'm afraid I've never seen code that will let you do that with that
particular control.

--
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)



"Bradley C. Hammerstrom" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> A2K
>
> I am using SHGetPathFromIDList Lib "shell32.dll" and SHBrowseForFolder Lib
> "shell32.dll" to let the user select a destination folder.
>
> But I would like to call the version of that dialog which also allows the
> user-browser to create a new folder if the desired destination does not
> exist.
>
> Brad H.
>
>



 
Reply With Quote
 
John Nurick
Guest
Posts: n/a
 
      6th Jan 2004
Hi Brad,

I haven't tried this myself, but according to the documentation at
http://msdn.microsoft.com/library/de...eforfolder.asp
it's possible in recent versions of Windows: you just add
BIF_NEWDIALOGSTYLE to ulFlags in the BROWSEINFO parameter structure.

On Mon, 5 Jan 2004 14:22:57 -0800, "Bradley C. Hammerstrom"
<(E-Mail Removed)> wrote:

>A2K
>
>I am using SHGetPathFromIDList Lib "shell32.dll" and SHBrowseForFolder Lib
>"shell32.dll" to let the user select a destination folder.
>
>But I would like to call the version of that dialog which also allows the
>user-browser to create a new folder if the desired destination does not
>exist.
>
>Brad H.
>


--
John Nurick [Microsoft Access MVP]

Please respond in the newgroup and not by email.
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Display the Browse for Folder Dialog nicoflowers@gmail.com Microsoft Excel Programming 2 5th Jun 2008 08:01 AM
'Browse For Folder' dialog bix is blank =?Utf-8?B?Z19kZW5uZQ==?= Windows XP General 3 6th Sep 2006 08:25 PM
'Browse for Folder' dialog box is not showing the folders Jaeic Lee Windows XP Help 1 20th Apr 2006 05:41 PM
Browse for folder dialog VB Joshua Microsoft ASP .NET 3 3rd Sep 2004 12:21 AM
Browse for Folder dialog box Arunas Microsoft Access VBA Modules 1 5th Nov 2003 11:21 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 01:09 PM.