opening a browse or file open dialog 
Author Message
 opening a browse or file open dialog

I'm trying to figure out how I can display Windows' standard File Open
dialog from VBScript? Is this possible using only VBScript. I'm going to
be using the Window's Scripting Host, so HTML-derived solutions may not
work (e.g. <INPUT=FILE>.

Replace nospam with netscape to e-mail

Thu, 16 Aug 2001 03:00:00 GMT  
 opening a browse or file open dialog
Try this:
set dialog=CreateObject("MSComDlg.CommonDialog")

dialog.Filter="All Files (*.*) | *.*"
dialog.DialogTitle="This is the title"
' Now show the dialog

For a Save dialog:

Its from the newspaper c'T, 10/1999.
In this issue are a lot of script examples. Look at


Mon, 12 Nov 2001 03:00:00 GMT  
 [ 2 post ] 

 Relevant Pages 

1. File Save/Open browse dialog

2. File Open/Save browse dialog

3. Open a file open dialog in Project

4. Open Multiselect Open dialog box

5. Common Dialog's File Open dialog question

6. Browse for folder, open/save file

7. Open file dialog box and upload file

8. Intranet Browse Button does not open file window.

9. How to browse the files and open one.

10. Acc97: Specifying /CMD parameter when opening database via open dialog

11. How to just open the Open dialog box?

12. Open a Save/Open-dialog


Powered by phpBB® Forum Software