[Thursday, January 20, 2005 11:45 AM]

Hi Padma,

No problem ;-)

1. Please add a variable (e.g. %SERVERLIST%) using Set Variable...
2. Please add another variable (e.g. %SERVERLISTID%) using Set
Variable...
3. Add your Combo Box dialog
4. Add the %SERVERLIST% variable to the "Combo Box Text ID" field
(Combo Box Dialog Properties -> Advanced Tab).
5. Add the %SERVERLISTID% variable to the "Store Selection Results
in Variable" field (Combo Box Dialog Properties -> Advanced Tab).

You can call your DLL before displaying the dialogs (or before
displaying the Combo Box) and pass the list of detected servers
back to the %SERVERLIST% variable. Please use the following form:

|Server1|Server2|Server3|etc.

This will be displayed in the Combo Box as:

Server1
Server2
Server3
etc.

If the user selects Server2, the %SERVERLISTID% variable is set to 2

Now you can use the "Get List Item" function (String Function) to get
the selected server name.

Use the following (String Functions)

Variable : %MYRESULT%
Function : Get Item List - Get item X from string list
String : %SERVERLIST%
Search String: (empty)
X : %SERVERLISTID%
Y : (empty)

The variable %BYRESULT% contains the selected server name now.

Does this help?

Friedrich


--
Friedrich Linder
www.lindersoft.com
Fax: 1.954.252.3910