Display all MS SQL Servers in network
Hi, all. I've been working my head around some code for a couple of days now. What I want to do, is to run osql with the -L parameter, fetch all the servers, and put it into a combobox. I managed to finish my code yesterday, but I don't think this is the best way to do it. Therefor I'm posting the Function here, and hoping for suggestions from you all on a better way to do this;)
The function can be found here.