Solved

sysinfo.ocx

Posted on 2001-08-10
7
258 Views
Last Modified: 2010-05-02
I am writing my first VB program and regularly have Visual Basic turn it into an exe to see if it runs as an independent program.
I thought everything was fine, but if I transfer my program to an other computer - with no Visual Basic installed, it just won't run.
I get a message "SYSINFO.OCX or one of its components missing".
What does this mean ?
0
Comment
Question by:michelvanpassel
7 Comments
 
LVL 11

Expert Comment

by:Otana
Comment Utility
You're probably using an ocx in your program that has not been installed on the other computer.

Did you add any extra components to your program?

TO avoid this, you can use the package & deployment wizard to create an installation package that includes all necessary files.
0
 
LVL 1

Expert Comment

by:kdg2000
Comment Utility
If you will transfer EXE on other computer, it(he) in any case will produce an error, as it is required VB to programs written on run-time files:
 Msvbvm60.dll
Stdole2.tlb
 Oleaut32.dll
 Olepro32.dll
 Comcat.dll
 Asyncfilt.dll
 Ctl3d32.dll  

If you except for main use of components additional, it is necessary to place(install) and them. For this purpose is necessary installation package (Package and Deployment
 Wizard).
0
 
LVL 4

Expert Comment

by:WolfgangKoenig
Comment Utility
You need to copy the file "SYSINFO.OCX" to the
system32 directory in your destination system ...

WoK
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 4

Expert Comment

by:WolfgangKoenig
Comment Utility
When your destination system don't have the file:
Msvbvm60.dll (VB6.0 virtual machine)
you have to copy this file too to the system32 dir

WoK
0
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
Comment Utility
Or to simplify the whole procedure, run the packaging and deployment wizard to create an installation package which includes all the required runtime files and included components and can be installed on the target machine. This is the recommended way to install applications on other machines. The p&d wizard is not the only (or necessarily the best) way to do this but it suffices in most instances.
0
 
LVL 4

Expert Comment

by:vindevogel
Comment Utility
Like TimCottee says ...
If you're putting a VB exe on a client, make a setup with the package & deployment wizard.

Don't bother about finding the Dll's yourself, you'll always miss out one or more...
0
 

Author Comment

by:michelvanpassel
Comment Utility
Thanks Tim.
But also thanks to the others who gave the same advice.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

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…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…
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…

772 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

11 Experts available now in Live!

Get 1:1 Help Now