|
|
|
Thanks to the SQL-DMO object model, it's very easy to list all the available SQL Server 7.0 installations. For example, this code loads all the SQL Servers registered on the local machine into a ComboBox control: |
Click here to copy the following block |
Dim sqlApp As New SQLDMO.Application Dim NameList As SQLDMO.NameList Dim index As Long Set NameList = sqlApp.ListAvailableSQLServers cboServers.Clear
cboServers.AddItem "." For index = 1 To NameList.Count cboServer.AddItem NameList.Item(index) Next |
|
|
|
Submitted By :
Nayan Patel
(Member Since : 5/26/2004 12:23:06 PM)
|
|
|
Job Description :
He is the moderator of this site and currently working as an independent consultant. He works with VB.net/ASP.net, SQL Server and other MS technologies. He is MCSD.net, MCDBA and MCSE. In his free time he likes to watch funny movies and doing oil painting. |
View all (893) submissions by this author
(Birth Date : 7/14/1981 ) |
|
|