Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

setting root directory

Status
Not open for further replies.

pkailas

Programmer
Jun 10, 2002
555
US
Is there a way to set the root directory in the DirListBox? I wish to display ONLY the subdirectories in a certain directory without showing any of the parent directories so no one can navigate upwards.
 
I dont know if this is the easiest thing, but in the past, when an CHANGE or UPDATE event occured, if it was not the directory i wanted, then i forced it back to the right area.

You could use close to the same thing for setting the root, if they go above it, then shove them back to where they belong.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top