473,387 Members | 1,549 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,387 software developers and data experts.

Can somebody show a way to search for servers

I am looking for a code sample that allows a user to browse for SQL Servers
on the the local area network, similar to the ODBC Data Sources and drivers
dialog where you have a dropdown box that is populated with all the
available servers.

I am not sure if this has to be coded from scratch or whether it is possible
to piggyback off some available system functions. I need to extract the the
database as well.

Does anybody know of any articles on this topic or can someone point to a
code sample?
Nov 16 '05 #1
1 971
Been a while, but I did this before by calling the NetServerEnum() Windows
API function. Here's an app that does enumerates SQL Servers:
http://www.codeproject.com/csharp/servercombobox.asp

"Henry" <hs****@onproject.com> wrote in message
news:e1**************@tk2msftngp13.phx.gbl...
I am looking for a code sample that allows a user to browse for SQL Servers
on the the local area network, similar to the ODBC Data Sources and drivers
dialog where you have a dropdown box that is populated with all the
available servers.

I am not sure if this has to be coded from scratch or whether it is
possible to piggyback off some available system functions. I need to
extract the the database as well.

Does anybody know of any articles on this topic or can someone point to a
code sample?

Nov 16 '05 #2

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

Similar topics

20
by: WindAndWaves | last post by:
Hi Gurus I was wondering if you can send me in the right direction: I have a table with about 300 rows. I want to make all of them invisible and when a user enters a code in a form then make...
83
by: D. Dante Lorenso | last post by:
Trying to use the 'search' in the docs section of PostgreSQL.org is extremely SLOW. Considering this is a website for a database and databases are supposed to be good for indexing content, I'd...
0
by: Glen Darling | last post by:
Morning everyone, I am looking for help with an active directory search I am trying to figure out. For a while now I have been banging my head against a wall trying to figure out how to...
2
by: C | last post by:
Hi, I am starting to develop an ASP.Net app that will have a search section that will allow the user to search the site. I have come across the google search appliance which is quite big. ...
64
by: Manfred Kooistra | last post by:
I am building a website with identical content in four different languages. On a first visit, the search engine determines the language of the content by the IP address of the visitor. What the...
11
by: susiedba | last post by:
does anyone know of a framework; or tools; or something-- that describes an open source VB.net search engine / spider? anyone want to trade notes? I want to build something a lot more focused...
0
by: fiveheads | last post by:
Hi guy, I'm Javascript beginner... Recently thinking to have a code, which can read a list of servers from EXCEL (XLS) file and search these servers from network and then pass the results into...
9
by: ahilar12 | last post by:
1. <head> 2. <script type="text/javascript"> 3. </script> 4. </head> 5. <body> 6. <form> 7. <select name="team" id="mylist" > 8. <option></option> 9....
0
by: Mark112 | last post by:
Hi I am attempting to restore the search feature that was created by an external company using the indexing service for our intranet. the intranet is located locally at each of our offices. The...
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: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...

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.