Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Set up new database with VB

Status
Not open for further replies.

dazzer123

IS-IT--Management
Nov 24, 2003
128
GB
Can anyone tell me if it is possible to set up a new SQL Sever DB either from an Access adp or from a vb .net project.

Also could anyone tell me how I can run a .sql file on this new database programaticaly
 
Look into using the SQLDMO object library. Examples are easy to find in these fora, through Google and may even exist on a computer with the SQL Server sample code installed.

There is a complete EM clone, with full code, available for download at

It is VB6 not VB.Net but you might still be able to learn from it.

zemp
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top