MelissaEvans
Programmer
OK... This is something that I thought I understood, but apparently do not. *sigh* I have developed an OCX with Binary Compatibility. The file that it's pointing to is the current version of the OCX. I don't know what it's doing with this file. I had assumed it was checking for differences between what is there and what's being compiled to be sure it's "compatible." I added some methods, and recompiled it. It recompiled just fine. All seemed well. Then I gave the new OCX (and shell since the shell also changed - the shell had been recompiled with the new ocx also) to our customers. They're getting the errir, "Failed to activate control 'VB.UserControl'. This control may be incompatible with your application. Make sure that you are using the version of the control that was provided with your application."
MSDN says the resolution is to "Ensure that the Binary Compatibility is alwasy set to the latest version of your ActiveX component, or a version that includes all Public Methods and Properties." As far as I know, I'm doing this.
It also says to "reset the Binary Compatible file to the seoncd version of the ActiveX .ocs file." I haven't changed this file and am unsure what I should change it to and why.
The users had unregistered the old version, copied over the new version, then registered the new version of the OCX.
I hope that that's all the information you need. Any help is greatly appreciated. Thanks.
~Melissa
MSDN says the resolution is to "Ensure that the Binary Compatibility is alwasy set to the latest version of your ActiveX component, or a version that includes all Public Methods and Properties." As far as I know, I'm doing this.
It also says to "reset the Binary Compatible file to the seoncd version of the ActiveX .ocs file." I haven't changed this file and am unsure what I should change it to and why.
The users had unregistered the old version, copied over the new version, then registered the new version of the OCX.
I hope that that's all the information you need. Any help is greatly appreciated. Thanks.
~Melissa