473,804 Members | 2,271 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2282
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************* *@exisconsultin g.com
"JB" <ja****@bellevu e.com> wrote in message
news:My******** ******@news1.ce ntral.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=serverco mbobox

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
18041
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 function and have JS put this into an array. Then JS would use this array to create a selection list which displays only the names of the drugs. When the user selections one of the drugs, another selection list will be loaded with the avaiable...
15
2155
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="<% Response.Write (rsUser("Name")) %>"> <% Response.Write (rsUser("Name")) %> <input type="hidden" name="Email" value="<% Response.Write (rsUser("Email")) %>">
3
11142
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 names'. What are the options to reduce the bandwidth load of this? Is there any way that I can cache the list on the client (and allow them to periodically 'refresh' their local copy?). Or, does anyone have some code for a 'manual' auto-select option...
5
1353
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
1738
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 (the particular table structure is not relevant to this post). We need to identify the gender of the people as best as we can. We currently have two text files (MaleNames.txt and FemaleNames.txt) that list typically male or female names,...
11
7402
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 the Dropdown doesnt have any items.. The requirement is that as soon as one goes on typing the letters in the StudentName-textbox the corresponding matching names have to appear
7
4940
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 includes directories too. I can specify a pattern like *.* in the uri to exclude directories, but this then does not return files without extensions and there may be some of those. If I use LIST instead, I can tell the directories as they get tagged...
8
12206
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 http://www.sqldev.net/misc/ListSQLSvr.htm I run all of them on a Windows XP Professional 64bit machine which has 2 instances: mymachine\SQLExpress (Express Edition) and MSSQLSERVER (Developer Edition (64bit)) SQL Browser Service: not running
0
1586
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 have successfully setup an XML file with some sample names and emails. I populated this through a well functioning .aspx page that writes to the XML file and I have set up another .aspx page from which I can view the collected persons. what I need...
2
1387
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 have successfully setup an XML file with some sample names and emails. I populated this through a well functioning .aspx page that writes to the XML file and I have set up another .aspx page from which I can view the collected persons. what I...
0
9594
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10346
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10090
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9173
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6863
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5673
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.