473,508 Members | 2,392 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

List of SQL Servers Available in a network

Hi all
i need to do a search to all my network to find the SQL servers active, but
i don´t want to use SQLDMO. is there another way to do it ???

THKS

JSB
Jul 21 '05 #1
6 1603
mdb
"Joăo Santa Bárbara" <jo****@i24portugal.com> wrote in
news:Oe**************@TK2MSFTNGP15.phx.gbl:
i need to do a search to all my network to find the SQL servers
active, but i donďt want to use SQLDMO. is there another way to do it

http://www.codeproject.com/cs/databa...Enumerator.asp
Jul 21 '05 #2

"mdb" <m_b_r_a_y@c_t_i_u_s_a__d0t__com> wrote in message
news:Xn****************************@207.46.248.16. ..
"Joăo Santa Bárbara" <jo****@i24portugal.com> wrote in
news:Oe**************@TK2MSFTNGP15.phx.gbl:
i need to do a search to all my network to find the SQL servers
active, but i donďt want to use SQLDMO. is there another way to do it

http://www.codeproject.com/cs/databa...Enumerator.asp


Waw .... removing SQLDMO dependency in favor of ODBC dependency!.

Willy.
Jul 21 '05 #3
mdb
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in news:e#8j
$w*********@TK2MSFTNGP12.phx.gbl:
http://www.codeproject.com/cs/databa...Enumerator.asp


Waw .... removing SQLDMO dependency in favor of ODBC dependency!.


:) Haha

What do you want?? Its also dependent on having a network connected! :)
--
-mdb
Jul 21 '05 #4
mdb
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in news:e#8j
$w*********@TK2MSFTNGP12.phx.gbl:
http://www.codeproject.com/cs/databa...Enumerator.asp


Waw .... removing SQLDMO dependency in favor of ODBC dependency!.


:) Haha

What do you want?? Its also dependent on having a network connected! :)
--
-mdb
Jul 21 '05 #5

"mdb" <m_b_r_a_y@c_t_i_u_s_a__d0t__com> wrote in message
news:Xn****************************@207.46.248.16. ..
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in news:e#8j
$w*********@TK2MSFTNGP12.phx.gbl:
http://www.codeproject.com/cs/databa...Enumerator.asp


Waw .... removing SQLDMO dependency in favor of ODBC dependency!.


:) Haha

What do you want?? Its also dependent on having a network connected! :)
--
-mdb


The problem with this is that OP doesn't mention why he doesn't want to use
SQLDMO, now using ODBC he needs to PInvoke 4 API's, while a simple PInvoke
of a single Win32 API "NetServerEnum" could be used to get all SQL servers
in the network without any dependency at all.
Willy.
Jul 21 '05 #6
mdb
"Willy Denoyette [MVP]" <wi*************@telenet.be> wrote in
news:uV**************@TK2MSFTNGP10.phx.gbl:
The problem with this is that OP doesn't mention why he doesn't want
to use SQLDMO, now using ODBC he needs to PInvoke 4 API's, while a
simple PInvoke of a single Win32 API "NetServerEnum" could be used to
get all SQL servers in the network without any dependency at all.


Good information... I provided an answer - and the only one I knew at the
time - never said it was the best answer! :)

--
-mdb
Jul 21 '05 #7

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

Similar topics

0
288
by: Sean W. | last post by:
I want to create a list of MS servers using VB.NET. Where do I start? Also, one I have the list I want to be able to check the diskspace available on each server. This is just for daily...
5
5446
by: Oliver Braun | last post by:
I know this is a very common issue and I found a lot of hints on this topic in www but I did not find a very good solution for this task. Most of the solutions use SQLDMO to list all sql servers...
1
5044
by: M | last post by:
In .NET (pref. c#) how does one get a list of all available SQL Servers, databases and tables. I need to allow the connection to a database, etc, on the fly. kind of like what happens in SQL Query...
1
2462
by: Piotrek Stachowicz | last post by:
Hi, I'd like to display list of all MS SQL servers which are available on the network (I write application which uses database located on one of the machines in my LAN). Has anyone got any idea...
1
2593
by: Alexander Wehrli | last post by:
Hi, How can I get a list of all Oracle Servers in my network? It isn't possible by calling NetServerEnum, the matching ServerType does not exist. Any idea? Regards Alexander
5
6507
by: Joăo Santa Bárbara | last post by:
Hi all i need to do a search to all my network to find the SQL servers active, but i don´t want to use SQLDMO. is there another way to do it ??? THKS JSB
1
4571
by: Roger | last post by:
I would like to get a list of machines on my network (Workstations and/or Servers). Is there a way to do this in VB.Net? Thanks, Rog
0
2115
by: Mike Cox | last post by:
Andy M wrote: > ALERT > > There is a person by the name of Mike Cox who's trying > to turn this mailing list into a Big-8 newsgroup. No, I'm trying to get teh postgresql groups which are...
16
2445
by: Mike Cox | last post by:
He wants to be in the big 8. He would like to be under the comp.databases.* domain and will not to move it to something like postgresql.*. So he seems to agree with what was my original...
0
7224
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7120
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...
0
7380
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...
0
7494
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...
0
4706
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...
0
3192
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...
0
3180
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1553
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 ...
1
763
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.