Solved

How to create and distribute a vb app.

Posted on 2004-08-04
8
293 Views
Last Modified: 2010-05-02
Hi guys, I allready finish my first application developed in vb6 & mysql, now I need to install it into some computers, I did it before using vb4 & MSAccess but now, it'll be my first time using vb6 & mysql.

Can anybody tell me how to do that ?

Thank you very much.
0
Comment
Question by:ConsulmexLA
  • 4
  • 3
8 Comments
 
LVL 6

Accepted Solution

by:
bkthompson2112 earned 300 total points
ID: 11719193
Use the Package & Deployment wizard that comes w/ VB.

Or, I've heard that InnoSetup is good.
http://www.jrsoftware.org/isinfo.php
0
 
LVL 5

Expert Comment

by:brianb99999
ID: 11721383
better to use INNO - PDW is very buggy, the INNO site that bkthompson2112 mentions has some articles on how to write a setup script for VB.

Brian.
0
 

Author Comment

by:ConsulmexLA
ID: 11729726
I allready made my setup program using the package & deployment wizard that come with vb6, but when I try to install it in a client computer appear two errors:

1.- (in the setup process)
AN ERROR OCURRED WHILE REGISTERING THE FILE C:\WINNT\SYSTEM32\MSADO25.TLB

When this error apear I have to choose one of the following options:
Abort
Cancel
Retry

Then I choose Retry and the installation finish seccesfully.

2.- (When I try to run the app)
RUN TIME ERROR 2147467259(80004005)
[MICROSOFT][ODBCDRIVER MANAGER] DATA SOURCE NAME NOT FOUND AND NO DEFAUL DRIVER SPECIFIED.

Note: When I made the Installation Package, I included the myodbc drivers, so I don't know what is missing.


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

 
LVL 6

Expert Comment

by:bkthompson2112
ID: 11729782
To solve #1, I've used this: http://support.microsoft.com/default.aspx?scid=kb;en-us;299645
It worked great.

I've never encountered #2.
0
 
LVL 6

Expert Comment

by:bkthompson2112
ID: 11729789
On #2, have you setup the DSN on the client computer?
0
 

Author Comment

by:ConsulmexLA
ID: 11729802
ok bk I'm going to chek that link, Thank you.
0
 

Author Comment

by:ConsulmexLA
ID: 11729819
No I didn't setup the DSN
0
 
LVL 6

Expert Comment

by:bkthompson2112
ID: 11729873
The link I provided will solve the "Error registering file" error.

Creating the DSN on the client should solve the "DATA SOURCE NAME NOT FOUND" error.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
JSON Response and request in VB6 application 11 574
Excel - Save a copy of work book 13 88
Copy a row 12 64
Create Files based on Cell Values in a Range in Excel 12 43
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.
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

839 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