PDA

Click to See Complete Forum and Search --> : ActiveX EXE & ASP


balukg
Apr 1st, 2002, 06:00 AM
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.

blindlizard
Apr 8th, 2002, 02:43 PM
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.

Hawk
Apr 9th, 2002, 02:04 AM
What is the difference between ActiveX Exe and ActiveX Dll?

Anglo Saxon
Apr 9th, 2002, 06:00 AM
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

Hawk
Apr 9th, 2002, 11:35 AM
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.