Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

sysinfo.ocx

Posted on 2001-08-10
7
Medium Priority
?
323 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
[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
7 Comments
 
LVL 11

Expert Comment

by:Otana
ID: 6371619
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
ID: 6371720
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
ID: 6371729
You need to copy the file "SYSINFO.OCX" to the
system32 directory in your destination system ...

WoK
0
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.

 
LVL 4

Expert Comment

by:WolfgangKoenig
ID: 6371735
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 400 total points
ID: 6371870
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
ID: 6372186
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
ID: 6375051
Thanks Tim.
But also thanks to the others who gave the same advice.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

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.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
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…
Suggested Courses

618 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