Solved

How to create and distribute a vb app.

Posted on 2004-08-04
8
292 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
Gigs: Get Your Project Delivered by an Expert

Select from 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.

 
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

Gigs: Get Your Project Delivered by an Expert

Select from 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

Suggested Solutions

Title # Comments Views Activity
Add a task in Outlook from access 11 39
Access Object Property from VBA Module in Excel 2010 2 31
How to make an ADE file by code? 11 82
Advice in Xamarin 21 78
Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
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 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…
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…

813 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

10 Experts available now in Live!

Get 1:1 Help Now