Browseforfolder should show only local and shared drives 
Author Message
 Browseforfolder should show only local and shared drives

Hello to you all
I want to use the browseforfolder to only show the local drives AND
the shared drives.
Is that possible with the browseforforfolder-function??
Thanks in advance

Catharinus van der Werf



Thu, 14 Apr 2011 17:43:58 GMT  
 Browseforfolder should show only local and shared drives

Quote:
> I want to use the browseforfolder to only show the local drives AND
> the shared drives.
> Is that possible with the browseforforfolder-function??

Does BIF_RETURNONLYFSDIRS do what you want or does that turn off the shard
folders?


Fri, 15 Apr 2011 21:45:23 GMT  
 Browseforfolder should show only local and shared drives

Quote:


> > I want to use thebrowseforfolderto onlyshowthe local drives AND
> > the shared drives.
> > Is that possible with the browseforforfolder-function??

> Does BIF_RETURNONLYFSDIRS do what you want or does that turn off the shard
> folders?

Thanks for your reply Jeff, but that show only the shared folders and
not the local drives.

Catharinus



Sun, 17 Apr 2011 04:58:50 GMT  
 Browseforfolder should show only local and shared drives

Quote:
>> > I want to use thebrowseforfolderto onlyshowthe local drives AND
>> > the shared drives.
>> > Is that possible with the browseforforfolder-function??

>> Does BIF_RETURNONLYFSDIRS do what you want or does that turn off the
>> shard
>> folders?

> Thanks for your reply Jeff, but that show only the shared folders and
> not the local drives.

??? HUH? The "FS" in the constant is for "file system," so I figured if
anything it would exclude the NETWORK shares, but not the LOCAL stuff.
That's just plain crazy.

I just tried the code on http://vbnet.mvps.org/code/browse/browsefolders.htm
and the dialog showed all my local drives plus the one mapped drive I have.
HOWEVER, it also included the network tree, and so now I'm starting to think
that what you want just isn't possible without writing your own dialog.



Sun, 17 Apr 2011 22:44:54 GMT  
 Browseforfolder should show only local and shared drives

Quote:


> >> > I want to use thebrowseforfolderto onlyshowthelocaldrives AND
> >> > theshareddrives.
> >> > Is that possible with the browseforforfolder-function??

> >> Does BIF_RETURNONLYFSDIRS do what you want or does that turn off the
> >> shard
> >> folders?

> > Thanks for your reply Jeff, but that show only thesharedfolders and
> > not thelocaldrives.

> ??? HUH? The "FS" in the constant is for "file system," so I figured if
> anything it would exclude the NETWORK shares, but not theLOCALstuff.
> That's just plain crazy.

> I just tried the code onhttp://vbnet.mvps.org/code/browse/browsefolders.htm
> and the dialog showed all mylocaldrives plus the one mapped drive I have.
> HOWEVER, it also included the network tree, and so now I'm starting to think
> that what you want just isn't possible without writing your own dialog.

Thanks jeff,
yes, you could be right. But that's the problem: I don't know how to
write my own dialog

Catharius van der Werf



Mon, 25 Apr 2011 03:13:25 GMT  
 Browseforfolder should show only local and shared drives


Quote:

>> I just tried the code on
>> http://vbnet.mvps.org/code/browse/browsefolders.htm

> Thanks jeff,
> yes, you could be right. But that's the problem: I don't know how to
> write my own dialog

Hi, there is another way, the code mentioned above at mvps can be extended
to include a callback, this checks the selected folder and then enables or
disables the OK button , all you need to to is modify the callback to your
specification so the OK button is only enabled when you want it, so the user
can see everything but only select a local or shared drive.

Dave O.



Mon, 25 Apr 2011 17:59:26 GMT  
 
 [ 6 post ] 

 Relevant Pages 

1. Show Local AND Shared (network) drives in Browseforfolder

2. Need help copying files from shared drive to local drive

3. local drive letter <> drive share name

4. What is the Share-Name of a local drive

5. What is the Share-Name of a local drive

6. What is network share name of local drive

7. Retreiving The Shared Directory Name On A Local Drive

8. getting share name of a local drive

9. getting share name of a local drive

10. getting share name of local drive

11. Help Obtaining Local Drive UNC or Share Name

12. Sharing local drives using WFW

 

 
Powered by phpBB® Forum Software