Solved

Help me ..In SETUP configure database script

Posted on 2001-06-20
6
158 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
Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 

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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…

828 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