Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Make Exe

Posted on 2000-02-27
6
Medium Priority
?
173 Views
Last Modified: 2011-09-20
hello,
I created a project that links to an ODBC data source.

I created it using the "Standard Exe" project in VB6.

It works fine on the development machine.

Moving it to another machine causes all sorts of error.  Most of them were dll libraries not found.  I copied these across.  

When I now run the program it works fine, except it keeps on throiwing up a "Applicatioon Defined or object-orinteted error", which I've tracked down in the source code to the first line that queries the ODBC source.  The odbc source is excatley the same on the test machine.  I assume that this might be another dll problem.

Why should I have to go through all this fuss?  Shouldn't vb6 have a clever way of setting this up for the user (instead of copying dlls, registering dlls etc).

If I could get an exe file that i could just copy from machine to machine, I would be a happy man.

Malcolm

0
Comment
Question by:trevena
[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
  • 3
  • 2
6 Comments
 
LVL 1

Expert Comment

by:Maquiavelo
ID: 2563467
 Whenever U R moving the EXE to another machine U should generate an installation program with the Setup Wizard, and then install it on target machine. The Setup program registers OCXs and DLLs itself.
0
 

Author Comment

by:trevena
ID: 2563486
This might sound a bit daft, but where do I find the "Setup Wizard"

Is it a stand alone application, or an option sowher in the IDE?
Malcolm
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 2563499
Since you are using VB6, you will find the Package and Deployment Wizard (instead of the Setup Wizard that comes with VB5).

You will find this tool in the Tools menu where you find your VB6 link.

This tool will collect all the requested files and create 3 files:
-a CAB file;
-Setup.EXE;
-Setup.LST.

On the other PC, executes Setup.exe that will read and install the other 2 files. Then your application should start.
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 

Author Comment

by:trevena
ID: 2563649
Thanks!
Worked a treat.
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 800 total points
ID: 2564715
Now, if it is working, you have to accept an answer!
0
 

Author Comment

by:trevena
ID: 2566429
Whoops!
Sorry.
0

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

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…
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 Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Suggested Courses

609 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