That code is fine, but has one issue, it have to Connect to an SQLServer and I'm guessing that's exactly what he need: "To know where to connect"
>Jess,
>>If want to know if there are SQL Server installed within the LAN environment I am working with. Is there a way how?
>See if Re: Detecting SQL Servers Thread #186452 Message #187051 helps...