Solved

Problem with running of exe file..

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

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

Introduction I needed to skip over some file processing within a For...Next loop in some old production code and wished that VB (classic) had a statement that would drop down to the end of the current iteration, bypassing the statements that were c…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

756 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