Finding Server!

  • Thread starter Thread starter Guest
  • Start date Start date
Olá Nuno

I assume you mean sql servers ?

Had the following reference : Microsoft SQLDMO Object
Library ( in the COM tab)

Dim oDmoApp As New SQLDMO.Application()
Dim oDmoList As SQLDMO.NameList
Dim i As Integer


oDmoList = oDmoApp.ListAvailableSQLServers
For i = 1 To oDmoList.Count
Me.ComboBox1.Items.Add
(oDmoApp.ListAvailableSQLServers.Item(i))
Next

Kind Regards
Jorge
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top