Solved

How to create and distribute a vb app.

Posted on 2004-08-04
8
290 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
 
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
How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

 
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Suggested Solutions

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
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 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…
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…

758 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

21 Experts available now in Live!

Get 1:1 Help Now