Xpounded: Open Dialogs
3 Browse for file VBS scripts.
(One might do the trick for you.)
All of the following scripts are used in the same manner. Select which one suits your purpose best.
Usgae Syntax:
sFileName = openDialog(sPath,sFilter)
A quick example follows:
Dim strFileName, strPath, strFilter
strPath = "C:\Documents and Settings\All Users\Desktp\"
strFilter = "Text Files|(*.txt)|All Files|(*.*)"
sFileName = openDialog(sPath,sFilter)
sFileName will hold the file path of the selected file (if any).
The 2nd script (dialogOpenFile for WScript (IE)) will not use the sPath,sFilter arguments,
but they are left in the call to keep a common interface for the different implementations.
If you have a Licensed CommonDialog Control on your system, use this:
 Select All
If you have DO NOT have a Licensed CommonDialog Control, but you have InernetExplorer, try:
 Select All
If you have XP (SP2) you can use this:
 Select All
No HTML to View
|