Results 1 to 4 of 4

Thread: ActiveX.exe Installation/Registration ? [*RESOLVED*]

  1. #1

    Thread Starter
    Hyperactive Member Simon Caiger's Avatar
    Join Date
    Aug 2000
    Location
    Rugby, England
    Posts
    377

    ActiveX.exe Installation/Registration ? [*RESOLVED*]

    I have developed an ActiveX.exe.

    All works well on my development PC.

    The .exe builds Ok and my client programs can access it without any problems.

    I have now transferred my client project and the ActiveX.exe to another PC to test the programs before shipping.
    I didn't use the PDW because I am running the client program in the IDE.

    I found that I was unable to call the ActiveX.exe from the client program (I got an error) until I had double clicked the ActiveX.exe.

    In a nut shell my questions are :-

    1. How does an ActiveX.exe get registered (I didn't think you needed to). Does it have to reside in the System32 directory in order to be recognised?

    2. What has gone on here? Why has double clicking the ActiveX.exe suddenly allowed my other programs to access it?

    3. When I distribute the final product, I will be using the PDW. Will the act of running the install process automatically resolve the issue of registering/making available my ActiveX.exe?

    Well I'm tired of writing "ActiveX.exe" now so I will sit back and hope that one of you knowledgeable people will answer this and relieve my ignorance.

    Thanks in advance
    Last edited by Simon Caiger; Jan 13th, 2003 at 12:38 PM.
    Simon Caiger

    Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing.

  2. #2
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    An activeX exe still has to be registered to be used by other programs just like a dll. Since it is also executable it registers itself the first time it is ran if it hasn't been already. Yes the P&D Wizard should handle this for you if you use it.

  3. #3
    Hyperactive Member Anglo Saxon's Avatar
    Join Date
    Mar 2002
    Location
    Durham, UK
    Posts
    259
    1. How does an ActiveX.exe get registered (I didn't think you needed to). Does it have to reside in the System32 directory in order to be recognised?

    No. As you have found out you can register it by double clicking on it or you can register it from the command line like this :

    <Full path of the EXE server> /RegServer

    2. What has gone on here? Why has double clicking the ActiveX.exe suddenly allowed my other programs to access it?

    See above.

    3. When I distribute the final product, I will be using the PDW. Will the act of running the install process automatically resolve the issue of registering/making available my ActiveX.exe?

    Yes. PDW will automatically register it (as long as it is included as part of the package!).


    --
    Anglo Saxon

  4. #4

    Thread Starter
    Hyperactive Member Simon Caiger's Avatar
    Join Date
    Aug 2000
    Location
    Rugby, England
    Posts
    377
    Thank you very much for your replies.
    Simon Caiger

    Documentation is like sex; when it's good, it's very, very good, and when it's bad, it's better than nothing.

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