Solved

FAILED TO ACTIVATE VB.USERCONTROL..

Posted on 2006-11-04
10
3,355 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
 
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
Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now