?
Solved

FAILED TO ACTIVATE VB.USERCONTROL..

Posted on 2006-11-04
10
Medium Priority
?
3,403 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
Independent Software Vendors: 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

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!

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…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses

762 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