Solved

Problem with running of exe file..

Posted on 2000-04-01
4
160 Views
Last Modified: 2010-05-02
I have a problem in runnning a exe file created in Visual Basics 6.0.
I have created a application in VB 6.0 on my machine with a exe file for that. it works perfectly at my PC.

But when i have tried the same at another newly formated NT machine, it asks for a few 'ocx' files. i don't know why it is so.
 Is it required to install VB on the machine where u r running the program. i don't think this the problem.

Can anybody suggest me the solution..

Thanks
Neeraj
0
Comment
Question by:neeraj523
4 Comments
 
LVL 1

Expert Comment

by:riduce
ID: 2675759
Make a setup of you're app. It will then install required drivers on the machine without VB.
0
 
LVL 1

Expert Comment

by:prefix
ID: 2675900
I think you had used OCXs in your application, so if you run the app on another machine, it will need the same OCXs you used. Copy the OCXs to the new machine and register them, it will be fine. Or use the VB6 setup program to build a install program, it will list all OCXs you used and add them automatically.
0
 

Accepted Solution

by:
anand_m earned 20 total points
ID: 2676212
Choose Package and Deployment Wizard in VB 6.0 and build the set-up.The set-up will show a list of OCX files and DLLs to be included. Complete the Set-up and then ship the Cab files

Anand
0
 

Expert Comment

by:LeXien
ID: 2677563
just copy them OCX files over to the NT box, and then use REGSVR32 ocxname.ocx on a run dialog. this should fix them right up.

0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
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…
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…

914 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

14 Experts available now in Live!

Get 1:1 Help Now