|
-
Feb 6th, 2000, 11:05 AM
#1
Thread Starter
Frenzied Member
I just want to retrieve a filename, I can do the rest from there, but how can I open the "Open" screen, or the "Save" screen?
Thanks

Steve
-
Feb 6th, 2000, 12:18 PM
#2
Code:
Private Sub cmdOpen_Click()
On Error Goto Cancelled
With CommonDialog1
.CancelError = True
.ShowOpen
Caption = .FileName
End With
Cancelled:
End Sub
Private Sub cmdSave_Click()
On Error Goto Cancelled
With CommonDialog1
.CancelError = True
.ShowSave
Caption = .FileName
End With
Cancelled:
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
|