How do you create multiple versions of an ActiveX control?

Hopefully this is a simple question, but googling has proven fruitless (and frustrating to say the least). Links to good documentation would be greatly appreciated.

Here's the problem. We have a web application with a matching ActiveX control. (The control wraps around a tough old MFC application, if that matters.) Moving forward, we expect multiple versions of this application to be released, each with a corresponding version of the control.

If someone is accessing two versions of a web application, then that user should get two different versions of the control on their system. (The controls should play well, not confuse each other.) Also, I want to automate this process. Our system has a global version number that applies to all components. If we change the version number, the next assembly should create a new version of the control.

What's the best way to do this?

+2


a source to share


1 answer


If your ActiveX control is exactly the same for all versions of your application, you shouldn't change the version of the control to avoid an annoying installation process for end users. The AX version is required to automatically update if needed



If the control is different for each version, I would use different CLSIDs for the controls.

+1


a source







All Articles