Solved

FAILED TO ACTIVATE VB.USERCONTROL..

Posted on 2006-11-04
10
3,382 Views
Last Modified: 2013-12-26
I have a BIG problem, after some months recompiling a program it will only run on my laptop.
All other PC's  give erro FAILED TO ACTIVATE VB.USERCONTROL.. this control may be incompible with your ap..  etc.
I did read Ms-pages on issue,  but can't figure out with this help a.  how to solve,  b. how to find wich component is causing the error.
So I'am looking for advise how to find how to solve this
Many thanks
0
Comment
Question by:BIAPRO
  • 5
  • 4
10 Comments
 

Author Comment

by:BIAPRO
ID: 17873340
this is in VB6 I forgot mention
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17873356
What is this usercontrol? what external user controls do you use in your project?
you will eventually need to deploy that (those) controls first...

what OS is your laptop running?
what service pack is your vb6?
0
 

Author Comment

by:BIAPRO
ID: 17873376
as far as I know I use third party controls like a chartcreator,  from 10Tec products Igrids, etc
I'm running XP-pro,  stations also, VB 6.0m 32 bit,  
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17873384
ok, is that control installed on the other pc?
if not, that is the problem.
0
 

Author Comment

by:BIAPRO
ID: 17873390
only thing I could imaging is that on my laptop are newer/updated controls then on the workstations.
is there some way/program/utillity that would display the used controls (version/date) in a program,
so I could compare with all ocx and/or dll files wich where mayby newer or updated?
0
 
LVL 143

Expert Comment

by:Guy Hengel [angelIII / a3]
ID: 17873404
nothing ready, so you have better to look at the .ocx/.dll's installed by that party on your and the other computers, and check their version and dates.
the file properties should contain that information
0
 

Author Comment

by:BIAPRO
ID: 17873413
got it,  I started allready with recompiling the program 'naked'  then test on other station, add a component , recompile, test it again,  untill I find the user-control  wich will 'hang' it.   Will let you know if this works ,  is their a commercial program then existing wich can 'list'  versions in a compiled program, to solve this kind off work now and in the future??
0
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 500 total points
ID: 17873421
http://support.microsoft.com/kb/830761
the one you are looking for is the Dependency Walker
0
 

Author Comment

by:BIAPRO
ID: 17873441
Thanks, this I will use in future, for now based on your advise I found the newer charcreater.ocx caused the error
while I was going step by step adding controls, so problem solved.
Thanks again, have a nice weekend
Jack
0

Featured Post

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

726 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