Finding existing SQL servers
Finding existing SQL servers
How can I find any SQL server exist in lan area using SDAC
> After tahat the list is empty.
> Do I need any preconfig of MsAccess before I use this procedure ?
Not.
> How it works if I have few instantions of Ms SQL Server ?
It doesn't depend on number of servers. At first, a list of the servers from OLE DB is obtained, see MSDN for details. It doesn't work for Win9x. Then servers from the registry are get HKLM\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo
> Do I need any preconfig of MsAccess before I use this procedure ?
Not.
> How it works if I have few instantions of Ms SQL Server ?
It doesn't depend on number of servers. At first, a list of the servers from OLE DB is obtained, see MSDN for details. It doesn't work for Win9x. Then servers from the registry are get HKLM\SOFTWARE\Microsoft\MSSQLServer\Client\ConnectTo