Solved

FAILED TO ACTIVATE VB.USERCONTROL..

Posted on 2006-11-04
10
3,369 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 142

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
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 
LVL 142

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 142

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 142

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

Simplifying Server Workload Migrations

This use case outlines the migration challenges that organizations face and how the Acronis AnyData Engine supports physical-to-physical (P2P), physical-to-virtual (P2V), virtual to physical (V2P), and cross-virtual (V2V) migration scenarios to address these challenges.

Question has a verified solution.

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

Suggested Solutions

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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 utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

810 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