This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Get the available SQL Server (MSI Basic)
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 31, 2010
12:31 AM
Get the available SQL Server (MSI Basic)
Hello
How can I get a list of the available SQL Server which are in the network?
I try it with InstallScript (in a MSI Basic Project)... The code look like that:
But now I don't know how I bring that in my combobox... I try it with CtrlSetList but I don't use a resource and I don't think it would work with this comand...
Do you know the right command or an other way how I become all the SQL Server which are available into my Combobox?
I really hope you can help me... I'm going up the walls, I try that yesterday for 8 hours -.-
Thank you for your help!
best regards
Blueeberry
How can I get a list of the available SQL Server which are in the network?
I try it with InstallScript (in a MSI Basic Project)... The code look like that:
function GetServer(hMSI)
LIST listID;
begin
listID = SQLRTGetServers( FALSE );
end;
But now I don't know how I bring that in my combobox... I try it with CtrlSetList but I don't use a resource and I don't think it would work with this comand...
Do you know the right command or an other way how I become all the SQL Server which are available into my Combobox?
I really hope you can help me... I'm going up the walls, I try that yesterday for 8 hours -.-
Thank you for your help!
best regards
Blueeberry
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Mar 31, 2010
09:00 AM
The idea behind it is to use the listbox control on a dialog and link a property to the listbox(in properties of the control). Then you fill during your setup run the listbox table with the SQLServers that you find.
Good idea would be to read the help of the listbox table.
You fill in the property(you defined for the listbox control), order and the value(=value you will see in the listbox itself).
Good idea would be to read the help of the listbox table.
You fill in the property(you defined for the listbox control), order and the value(=value you will see in the listbox itself).