Results 1 to 5 of 5

Thread: ActiveX EXE & ASP

  1. #1

    Thread Starter
    New Member
    Join Date
    Apr 2002
    Posts
    6

    ActiveX EXE & ASP

    hai there,


    i am doing a project using asp, i have created an Activex exe in vb for some process, when i call the activex exe from the asp page i want the process to get run in the server and at the same time i should get back the browser, so that i can perform another task, but the activex exe should has to perform the mentioned task with out the user interaction,
    ie., i want the browser back after calling the activex exe, for this what i have to do,
    please help me.

    waiting for replay.
    Last edited by balukg; Apr 2nd, 2002 at 05:47 AM.

  2. #2
    Frenzied Member blindlizard's Avatar
    Join Date
    Feb 2001
    Location
    Austin, TX - United States of America
    Posts
    1,141
    I had a similar situation. I wanted to call something and while it was working, allow the user to move on. What I did was create a DLL that I called from the ASP page. That DLL shelled an exe i.e. shell(c:\myexe.exe parms) The DLL would start the exe and end. Thus the browser was given back control. Then the exe was working in the background doing what it needed to do.
    I drink to make other people more interesting!
    [vbcode]On Error GoTo Bar[/vbcode]
    http://www.monsterlizard.com

  3. #3
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    What is the difference between ActiveX Exe and ActiveX Dll?
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

  4. #4
    Hyperactive Member Anglo Saxon's Avatar
    Join Date
    Mar 2002
    Location
    Durham, UK
    Posts
    259
    By definition?

    ActiveX DLL - an in process component ( runs in the same memory space as the calling application ).

    ActiveX EXE - an out of process component ( runs in an area of memory different to the calling application ).

    This is too complex ( and extremely boring! ) a topic to explain in detail in a Q & A forum, if you're interested then I suggest you buy a good book.

    Happy reading!

    --
    Anglo Saxon

  5. #5
    Fanatic Member
    Join Date
    Jun 2000
    Location
    Forest
    Posts
    545
    Thanks Anglo Saxon!

    The sample that comes with MSDN explains quite a bit. But I just like to know when you would use ActiveX Exe.
    Bird of Prey

    Mr. Bald Eagle.
    [img][/img]

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