Home All Groups Group Topic Archive Search About

Limiting the directories somebody can browse to.....

Author
15 Apr 2005 6:56 PM
UJ
I have a directory with multiple sub directories and I need to have somebody
pick a file from that directory or below. How can I limit the directories
than can get to? So in other words I want them to start at c:\tempfiles and
they can pick from that directory or below but NOT from c:\.

TIA.

Jeffrey.

Author
16 Apr 2005 8:03 AM
Cor Ligthert
UJ,

And how do they reach those directories (with what control or what code)?

Cor
Author
17 Apr 2005 1:12 AM
UJ
I guess that's what I'm trying to limit. Essentially I want to have a way
where I can say 'Pick a file from this directory or below' and make sure
they don't have a way to go up.

As far as the control - that's what I'm looking for. I guess what I'm
looking for is a FileDialog where I can specify that the only directories
they can browse to are some directory I specify and the directories below
it.

J.

Show quoteHide quote
"Cor Ligthert" <notmyfirstn***@planet.nl> wrote in message
news:%23wQVOrlQFHA.1884@TK2MSFTNGP15.phx.gbl...
> UJ,
>
> And how do they reach those directories (with what control or what code)?
>
> Cor
>
Author
17 Apr 2005 7:19 AM
Cor Ligthert
UJ,

I think that you have to make that yourself.
Maybe is the folderviewer in the free VisualBasic powerpack something to
start with.

Sorry that is all help I can give in this.

Cor