|
-
Feb 11th, 2008, 07:47 AM
#1
Thread Starter
Frenzied Member
Re: Path location problem Dir.path
 Originally Posted by Jottum
Matrik02,
Where does this C:\\ come from? If you turn your statement around, Text1.Text = Dir1.Path you will never get a double slash... So where do you get the text displayed in Text1?
A'a I found it, I have code on this. In the textbox show D:\Project, but why my drivelistbox show C: drive? How to change this to D: ?I only have this code only
Code:
Dir1.Path = Text1.Text
-
Feb 11th, 2008, 07:53 AM
#2
Addicted Member
Re: Path location problem Dir.path
 Originally Posted by matrik02
A'a I found it, I have code on this. In the textbox show D:\Project, but why my drivelistbox show C: drive? How to change this to D: ?I only have this code only
Code:
Dir1.Path = Text1.Text
There's also a Drive listbox, you can use them together;
will get you to the root of the drive you've selected in Drive1
Jottum™
XpVistaControls , (transparent) usercontrols for XP, Vista and 7 with W2K legacy support.
-
Feb 11th, 2008, 08:17 AM
#3
Thread Starter
Frenzied Member
Re: Path location problem Dir.path
I have fix this, here it is
Code:
Private Sub Command1_Click()
Dir1.Path = Text1.Text
Drive1.Drive = Text1.Text
End Sub
Private Sub Form_Load()
Text1.Text = "D:\career"
End Sub
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|