Javascript – COM object to create a “Open File” dialog under Vista

comjavascriptwindowswindows-vista

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.