Results 1 to 3 of 3

Thread: How to attach an New ActiveX Exe to an application without recompiling it.

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2001
    Location
    New Delhi
    Posts
    4

    How to attach an New ActiveX Exe to an application without recompiling it.

    Hi Friends,

    I have a question on ActiveX Exe.

    If you are familiar with Java applications and Javabeans, you might be knowing that after you send a Jar file of an Application in Java, if you want to attach a Fresh new bean (a new component) to the application, you don't need to compile your application again.

    But in Microsoft Technology, to add a New ActiveX Exe Component to an existing application, you need to add reference of that component to your application. Hence, it becomes inevitable to compile it again and create a new setup.

    Is there any way out so that i may not need to add any reference and neither i must need to recompile it again.

    Please Reply....

    Bhupendra
    Bhupendra
    Module Leader,
    Xerox Delhi Software Center

  2. #2
    jim mcnamara
    Guest
    If you have an ActiveX component that supports EXACTLY the same interface (binary compatibility), all you have to is copy the the .dll or .EXE file over to the new system, unregister the old version, register the new version. This is how COM is supposed to work.

    By new, I'm assuming yoiu mean an updated version of existing COM code.

  3. #3
    Your Ad Here! Edneeis's Avatar
    Join Date
    Feb 2000
    Location
    Moreno Valley, CA (SoCal)
    Posts
    7,339
    Also you can use CreateObject("DLLNAME.CLASSNAME") to late bind the object and then you should be able to change the ActiveX EXE, although then there are other issues to consider.

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