Solved

Help me ..In SETUP configure database script

Posted on 2001-06-20
6
151 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 49

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 49

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

 

Author Comment

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

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

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

Suggested Solutions

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…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

919 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

19 Experts available now in Live!

Get 1:1 Help Now