PDA

Click to See Complete Forum and Search --> : ActiveX EXE not working


thebigo
Nov 16th, 2000, 05:43 PM
I have created an ActiveX EXE application in VB6 (Win98SE) and created the CAB file using the Package and Deployment Wizard. It works fine on the development machine (in IE5.5).
When I copy the files onto an NT4 Server and try and open the application in IE4.1 (via Intranet) it comes up with the "Open or Save" dialog box (although I can load it from the Server onto the development machine).
According to the MSDN Library documentation the security needs to be set to Medium - tried that, same problem. I then set the security to Custom and enabled all the ActiveX settings - same problem.

There's obviously a setting somewhere that's not correct.

Can anyone point me in the right direction??

Thanks.
James Organ

André
Nov 17th, 2000, 08:11 AM
Well, I assume you are trying to call this ActiveX EXE from ASP.

The thing is that ASP per Default does not allow the use of out of process components. For security reasons it only allows Dll's.
However by changing stuff in the registry you will be able to use it.

If your code can work as a dll I will recommend that because it will live in your IIS applications memory space and won't need marshalling to communicate with your component. Dll's are 100-10000 times faster.

If it must be an EXE then try to search microsoft.com with ASP and out of process components.

Good luck

André

thebigo
Nov 19th, 2000, 05:10 PM
Thanks Andre,

I'll give that a go.