Solved

Problem with running of exe file..

Posted on 2000-04-01
4
159 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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

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…
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.
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…

747 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

15 Experts available now in Live!

Get 1:1 Help Now