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 SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DirListBox

Status
Not open for further replies.

cwalshe

Programmer
May 28, 2001
84
0
0
IE
Hi there,

I have a directory list box on my form and it automatically sets the default to a sub directory in my C: drive. Is there any way of changing this. I do have a database connnected to my form and the folder that the db resides is the folder that is showing in the Dir List Box.

Any ideas...

Thx,

Cormac.
 
put this in the form load

Dir1.Path = "c:\what ever dir"

good luck
mbpiper
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top