Solved

Windows ME and VB6?

Posted on 2001-08-10
5
171 Views
Last Modified: 2007-12-19

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?
0
Comment
Question by:u42093
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
5 Comments
 
LVL 75

Accepted Solution

by:
Anthony Perkins earned 200 total points
ID: 6373081
Take a look at this article on MSDN:
PRB: Error Messages When Recompiling ActiveX Component with Binary Compatibility (Q258192)
0
 
LVL 2

Expert Comment

by:damienm
ID: 6373086
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
0
 

Author Comment

by:u42093
ID: 6373240

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!
0
 
LVL 2

Expert Comment

by:PeteD
ID: 6373455
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!
0
 

Author Comment

by:u42093
ID: 6378174

Thanks!  That was it!
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses
Course of the Month9 days, 13 hours left to enroll

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question