rtcomp
asked on
Common Dialog.
How do I get a common Open File dialog to open in ASP or VBSCRIPT?
ASKER
I'm creating a sample fourm. In this application is a setting module that lest the Administrator choose different settings. One of the settings is the background image. I need the Common Open File Dialog (lthe one that oepn when you click on File then Open) so he/she can scoohe the file.
So, you don't want to upload anything. - You can't access the <input type=file> text contents. There is a Java applet which extends the options (I'ld have to refind it, and it's not free). - Alternatively, you could use the MS Common Dialog control as ActiveX (IE only), for which I could give you the code.
ASKER
I can try the MS Common Dialog control. Can you provide the code for that and I'll see if that works? Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Bingo, thats exactly what I was loking for. Thanks
Hi,
This is also what I want to complete using VBscript: Open File dialog to open in ASP or VBSCRIPT, and I read the articles listed above. I tried " Working sample" from " robbert ", but it doesn't work. The error: "Char: 16 Error: Object doesn't support this property or method: 'objCmnDlg.ShowOpen' Code:0 ". Any ideas? Thanks.
This is also what I want to complete using VBscript: Open File dialog to open in ASP or VBSCRIPT, and I read the articles listed above. I tried " Working sample" from " robbert ", but it doesn't work. The error: "Char: 16 Error: Object doesn't support this property or method: 'objCmnDlg.ShowOpen' Code:0 ". Any ideas? Thanks.
Beyond, what's the background and goal of your question?