|
-
Apr 8th, 2003, 04:51 PM
#1
Thread Starter
Junior Member
What file name did user enter in dialog box?
I have this coding:
strSaveToPath = Application.GetSaveAsFilename("C:\A.txt", fileFilter:="Text Files (*.txt), *.txt")
This brings up a dialog box with C:\A.txt as default file in the File Name box.
Later I use this code to run a slideshow:
Shell "D:/Program Files\Irfanview\i_view32.exe /slideshow=C:\a.txt", vbNormalFocus
All is well if user accepted C:\a.txt default. But how can i tell what file user selected if other than default so I can change it in the shell code?
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
|