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,779 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
ID: 17980277
yes
0
 
LVL 33

Accepted Solution

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

Author Comment

by:Gordon_Atherley
ID: 17980403
Thanks hongjun

I'll test this out and get back shortly

Gordon
0
 

Author Comment

by:Gordon_Atherley
ID: 17980947
Problem solved, thanks hongjun
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

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

Suggested Solutions

Title # Comments Views Activity
Best way to parse out a json string in VB6? 10 293
Access query that references subform 5 48
vb6 connector to mongodb 2 143
VB 6 error 5 in windows 10 but not in XP 7 67
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
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…

730 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