views:

620

answers:

2

I would like to use the Windows Common Dialog "Open File", to get a file from the user under JScript. This used to be possible using "ShowOpen()" on MSCOMDLG.commondialog object but, I can't find an equivalent way to do this that works under Vista.

A: 

You could probably fake it by using CreateObject("Shell.Application").BrowseForFolder( ... ) and use the BIF_BROWSEINCLUDEFILES flag

Anders