Click to See Complete Forum and Search --> : Using the common dialog object


Anand
March 31st, 1999, 06:31 AM
How do I use the common dialog object in ASP to open a browse window. I tried something like this

set comobj = createobject("MSComDlg.CommonDialog")

test = comobj.showopen

The second line is giving me me an error that the memory is insufficient. I have 64MB RAM in my machine, is it because of memory or something else.


Thank You in advance

anand
March 31st, 1999, 06:31 AM
How do I use the common dialog object in ASP to open a browse window. I tried something like this

set comobj = createobject("MSComDlg.CommonDialog")

test = comobj.showopen

The second line is giving me me an error that the memory is insufficient. I have 64MB RAM in my machine, is it because of memory or something else.


Thank You in advance

April 5th, 1999, 11:31 AM
Hi,
I think your intent is to pop up a browse dialog in the Browser. But when using ASP, the ASP script gets executed at the server and not in the browser.
If you want to pop up a browse window in the Broser, following is a HTML sample.



<html>
<head>
This is FileUpload
</head>
<form action = "http://yourservername" method = "POST"enctype ="multipart/form-data" >
which file to select <input type = "file" name = "file" >
<input type = "submit" name = "submit" value = "submit">
</form>
</html>



If this is not what you are looking for ignore this mail.

Regards
Mahanthi@rocketmail.com