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

default path in dirlistbox

Status
Not open for further replies.

pmsbony

IS-IT--Management
May 17, 2001
36
GB
I need to set a default path for a number of dirlistbox's that I am using in a small app. I have no problem setting the directory to change when the drive is changed, but I cannot set it to have a default path shown at startup.

I want to default the dirlistbox to c:\program files and cannot seem to achieve it. Any assistance is gratefully recieved.

ta

pete
 
Private Sub Form_Load()
Dir1.Path = "c:\program files"
End Sub Sunaj
'The gap between theory and practice is not as wide in theory as it is in practice'
 
it's easy when you know how I suppose, that what you get when network guys start dabbling in programming.

ta for the help

peter
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top