Solved

Distribution of VB6 app with sysinfo.ocx causes regstration errors on some but not all systems tested

Posted on 2006-11-20
4
2,552 Views
Last Modified: 2012-06-27
I recently added sysinfo.ocx to my VB6 app. On the development machine, WXP professional SP2, it works normally. On this machine the sysinfo.ocx version in system32 is 6.0.88.77.

When I test the app on a W2K machine, no errors occur with sysinfo.ocx, the version of which is 6.0.81.69. With a WXP Home machine, no errors occur, and the version is 6.0.81.69

But a test machine with WXP professional SP2, following an update (not a full install) of my VB6 app, this error occurs:

"Run-time error 339 Component sysinfo.ocx or one of its dependencies not correctly registered: a file is missing or invalid."

sysinfo.ocx cannot be found on this machine

~~~

Help and advice gratefully received. For example, should the Inno installer that I use for the updating of the app also distribute and register sysinfo.ocx?  

TIA, Gordon

0
Comment
Question by:Gordon_Atherley
  • 2
  • 2
4 Comments
 
LVL 33

Expert Comment

by:hongjun
Comment Utility
yes
0
 
LVL 33

Accepted Solution

by:
hongjun earned 500 total points
Comment Utility
you need to distribute all ocx / dll including sysinfo.ocx on all machines.
0
 

Author Comment

by:Gordon_Atherley
Comment Utility
Thanks hongjun

I'll test this out and get back shortly

Gordon
0
 

Author Comment

by:Gordon_Atherley
Comment Utility
Problem solved, thanks hongjun
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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…

763 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

9 Experts available now in Live!

Get 1:1 Help Now