Solved

Problem with running of exe file..

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

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
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…
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…

815 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

8 Experts available now in Live!

Get 1:1 Help Now