Solved

Problem with running of exe file..

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

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
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.
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…
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…

729 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