473,385 Members | 1,445 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

List of Server Names

JB
I'm trying to find out how to create a drop down that lists the Server Names
on the network. Much like Sql Server does when choosing some kind of
connection, it seems to autodetect them, so I'm assuming I can replicate
this. Any body direct me on how to do that?

Jason
Nov 15 '05 #1
2 2254
JB,

If you just want the list of SQL servers, then you can use the SQLDMO
object through COM interop. There is a method on it which will get you a
list of SQL servers on the network.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- ni**************@exisconsulting.com
"JB" <ja****@bellevue.com> wrote in message
news:My**************@news1.central.cox.net...
I'm trying to find out how to create a drop down that lists the Server Names on the network. Much like Sql Server does when choosing some kind of
connection, it seems to autodetect them, so I'm assuming I can replicate
this. Any body direct me on how to do that?

Jason

Nov 15 '05 #2
try this codeproject link to a server enumerator..

http://www.codeproject.com/csharp/servercombobox.asp?
target=servercombobox

enjoy.
-----Original Message-----
I'm trying to find out how to create a drop down that lists the Server Nameson the network. Much like Sql Server does when choosing some kind ofconnection, it seems to autodetect them, so I'm assuming I can replicatethis. Any body direct me on how to do that?

Jason
.

Nov 15 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: Andrew V. Romero | last post by:
At work we have an excel file that contains the list of medications and their corresponding strengths. I would like to save the excel file as a text list and paste this list into a javascript...
15
by: C White | last post by:
I've got another drop list problem I am using the following code where users select a name, but it should pass a name and email into the table <select name="user"> <option value="<%...
3
by: Paul W | last post by:
Hi - I'm developing a 'front-desk' app. to be used over the internet. (SQL-Server back-end). One of the pages will require the user to select an entry from a large (~4000) list of 'member...
5
by: Kurt | last post by:
Hi, is it possible to get SQL Server list in VB.NET whitout SQLDMO, only with ..NET functions? Sergio
2
by: Bob Johnson | last post by:
Using C#/2.0 I'm writing a small "data translator" utility app that reads data out of a MS Access database and inserts it into a SQL Server database. The source db lists a bunch of names of people...
11
by: eureka | last post by:
Hi All, I'm training in Servlets, JSP and JavaScript, I have a web page in which there's a "StudentName" textbox and below it is a "Names" Dropdown list. Initially the Textbox is empty and...
7
by: =?Utf-8?B?QmlsbA==?= | last post by:
I want to get a list of the files in an FTP folder. I have seen the example of MSDN using the FtpWebRequest, and it's fairly trivial to execute an NLIST command, but the trouble is that this...
8
by: =?Utf-8?B?UGV0ZXI=?= | last post by:
I'm trying to get a list of SQL Server Instances thru a VB.NET application. I have tried GetDataSource and SMO. I have also tried using ListSQLSvr.exe from...
0
by: slinky | last post by:
Thanks in advance for for any clues: I have a website I'm building using MS-Visual Web Developer Express (Asp.Net/VB.net). I'm tooling it to collect names and emails to send out our newsletter. I...
2
by: slinky | last post by:
Thanks in advance for for any clues: I have a website I'm building using MS-Visual Web Developer Express (Asp.Net/VB.net). I'm tooling it to collect names and emails to send out our newsletter. I...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.