?
Solved

FAILED TO ACTIVATE VB.USERCONTROL..

Posted on 2006-11-04
10
Medium Priority
?
3,414 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
[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
  • 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
Technology Partners: 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 2000 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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

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…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

649 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