?
Solved

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

Posted on 2006-11-20
4
Medium Priority
?
2,846 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
[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
  • 2
  • 2
4 Comments
 
LVL 33

Expert Comment

by:hongjun
ID: 17980277
yes
0
 
LVL 33

Accepted Solution

by:
hongjun earned 2000 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

What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…
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
Course of the Month12 days, 15 hours left to enroll

777 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