Solved

Help me ..In SETUP configure database script

Posted on 2001-06-20
6
159 Views
Last Modified: 2010-05-02
Dear friends,
I have a set of my vb backoffice application.
i have included all dlls and rest and made the package.
Fine .but i want to automate the process of creating
database tables..DSN etc automatically as the same vb setup is run.After i make scripts of database how configure it with orginal setup.
regards
Martin
0
Comment
Question by:mpaul4u
  • 3
  • 3
6 Comments
 
LVL 51

Accepted Solution

by:
Ryan Chong earned 50 total points
ID: 6212960
Hi, run a program in setup process that create DSN entry:

To create DSN:

http://www.vbcode.com/asp/showsn.asp?theID=406

'Hope will help.
0
 
LVL 51

Expert Comment

by:Ryan Chong
ID: 6212975
0
 

Author Comment

by:mpaul4u
ID: 6212998
Hi ryancys,
But how to include this program into setup.
regards
Martin
0
Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:mpaul4u
ID: 6213003
hi ryan,
What about program for creating tables in databse.
regards
Martin
0
 
LVL 51

Expert Comment

by:Ryan Chong
ID: 6213605
Hi Paul, sorry for late reply,

> How to include this program into setup?

I think it's possible add it bcos as many setup file allow the program itself run just after setup completed. Maybe you can try Install Shield or any other setup programs. I'm really lack experiences in this area. Sorry.

> What about program for creating tables in databse?

You can use many method to do that, include DAO, ADO technology. I don't got the source codes, but you can get it easily through internet. Here are some usefel vb website:

www.vbcode.com

http://www.mvps.org/vbnet/index.html

Cheers!

0
 

Author Comment

by:mpaul4u
ID: 6213749
Thanks Ryan
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

There are many ways to remove duplicate entries in an SQL or Access database. Most make you temporarily insert an ID field, make a temp table and copy data back and forth, and/or are slow. Here is an easy way in VB6 using ADO to remove duplicate row…
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…

679 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