Solved

How to create and distribute a vb app.

Posted on 2004-08-04
8
291 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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

912 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

23 Experts available now in Live!

Get 1:1 Help Now