|
-
Dec 29th, 2001, 05:21 AM
#1
Thread Starter
New Member
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
-
Dec 31st, 2001, 07:13 AM
#2
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.
-
Dec 31st, 2001, 11:09 AM
#3
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|