|
-
Feb 8th, 2000, 02:52 AM
#1
Thread Starter
Junior Member
Hello All
I have a question about the common Dialog controls. Is there a way to get the directory after the showsave method is executed?
Thanks!
-
Feb 8th, 2000, 04:24 AM
#2
Sure, use the FileTitle and FileName Values to Parse out the Directory, ie.
Code:
Private Sub Command1_Click()
With CommonDialog1
.ShowSave
Caption = Left$(.FileName, Len(.FileName) - Len(.FileTitle))
End With
End Sub
------------------
Aaron Young
Analyst Programmer
[email protected]
[email protected]
Certified AllExperts Expert
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
|