• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 210
  • Last Modified:

AciveX of ActiveX

I have a microsoft ActiveX binarry that I want to use. I want to add some functions to that MS ActiveX and use the resulted code as a new ActiveX. Here are my questions:
1. Is it possible to add functions to MS ActiveX component without having its source code? HOW?
2. How to deal with the resulted ActiveX license? Will the user see 2 license for the resulted ActiveX (MS license and mine?)
3. Will it be better for performance to use MS ActiveX as it is and put all the new functions in a seperate ActiveX?

Thanks
   
0
kawa
Asked:
kawa
1 Solution
 
jhanceCommented:
1. Is it possible to add functions to MS ActiveX component without having its source code? HOW?

Yes, you write a new ActiveX object and load the old ActiveX into your new one.  This is called containment.  You pass all of the old methods and properties unchanged to the old object and process any new ones yourself.


2. How to deal with the resulted ActiveX license? Will the user see 2 license for the resulted ActiveX (MS license and mine?)

Hmmm, good question.  The answer is yes.  If the existing component uses licensing, then that will still be required if you contain it in your new component.

3. Will it be better for performance to use MS ActiveX as it is and put all the new functions in a seperate ActiveX?

It doesn't matter much.  Generally performance of the object itself is not an issue especially with a user-interface ActiveX control.  But still, I don't see much degradation in performance with a contained control.
0
 
kawaAuthor Commented:
Thanks
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now