Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / SQL Server / ADP / March 2007

Tip: Looking for answers? Try searching our database.

List Servers in Combo Box

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Alan Z. Scharf - 26 Mar 2007 14:48 GMT
Hi,

Does anyone have samples of how to list SQLServers on network in an ADP
combo box?

Thanks.

Alan
Sylvain Lafontaine - 27 Mar 2007 17:01 GMT
The usual way of doing this would be to use SQLDMO (also known as SQL-DMO,
search Google for both).  The following give you an exemple in .NET for
discovering servers and database using SQLDMO:

http://www.codeproject.com/cs/database/spgen.asp

However, using SQLDMO doesn't mean that you can necessarily discover all
servers on your local machine or onto the network.  SQLDMO will look for
things like Alias but to get at all the serverss, the discovery service must
be enabled (SQL-2005) as well as other services for the other machines on
the network (Browser service?).

Signature

Sylvain Lafontaine, ing.
MVP - Technologies Virtual-PC
E-mail: sylvain aei ca (fill the blanks, no spam please)

> Hi,
>
[quoted text clipped - 4 lines]
>
> Alan
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.