Results 1 to 3 of 3

Thread: ActiveX EXE not working

  1. #1

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    Australia
    Posts
    2

    Question

    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

  2. #2
    Addicted Member
    Join Date
    Jun 1999
    Location
    Los Angeles
    Posts
    186
    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é

  3. #3

    Thread Starter
    New Member
    Join Date
    Nov 2000
    Location
    Australia
    Posts
    2
    Thanks Andre,

    I'll give that a go.

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