CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 1999
    Posts
    20

    Using the common dialog object



    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

  2. #2
    Guest

    Re: Using the common dialog object

    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
    [email protected]



Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured