Link to home
Start Free TrialLog in
Avatar of u42093
u42093

asked on

Windows ME and VB6?


Does anybody know what this error means?

run-time error '374'.  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.

Of course, I see what it says, but don't understand why it's happening.  I have a form with a few controls on it, but one of them is an OCX that I wrote myself.  The control is not named "UserControl", first of all, so I'm already confused!

Of my entire application, this is the only one having this problem, although, there aren't any other forms using that OCX I mentioned.

To complicate matters, this works on Win 95/98/NT.  It's only a problem on one of my users who's running ME.

Is there something special about Windows ME and custom OCX's?   Even a hint of what to start looking for?
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I don't know if this is relevant but it is from Microsoft  site.

http://support.microsoft.com/support/kb/articles/Q258/1/92.ASP
Avatar of u42093
u42093

ASKER


Oh, it had to be a Binary Compatiblity issue!!!!   That actually sounds like it might be it.  Gonna recompile and redeploy that control and see if that fixes things.

If it works, and since you both (acperkins and damienm) replied practically simultaneously, you both get the points!
This is entirely down to compatibility! You must ensure that the other users machines have the same ocx version registered as the one that is compiled into your exe!.....otherwise you will get this error!
Avatar of u42093

ASKER


Thanks!  That was it!