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,645 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: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
Pull multiple cvs files into one access table 28 69
Hide vba in gp 7 104
Prevent user closing word document opened with VB6 6 78
vbModal 12 57
There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
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…

838 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