- Joseph Vendra
- PowerBuilder
- Thursday, 11 November 2021 10:22 PM UTC
Anyone have a reliable way to get a list of SQL Servers using PowerBuilder 2021?
Either as native PowerBuilder PowerScript code, possibly by using odbc32.dll or NetServerEnumerate api function calls or perhaps another way?
I need to be able to populate a listbox with a list of servers or computers running any instance of SQL Server, standard, enterprise, SQL Express engines
From there ideally next would be to get a list of the databases under that server, assuming the user was able to provide a SQL ID/Password to authenticate to the server.
The PB Application would be an application running on Windows 10 normally (Possibly older Windows OS flavors but the target is Windows 10+)
Any suggestions or help is greatly appreciated.
Joseph
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.