Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Search Computer Dialog


1 reply to this topic

IPharao

IPharao
  • Members
  • 1 posts

Posted 15 May 2006 - 14:25

Hello folks

I need a dialog for search and select computers in the domain like SdLogonUserListServers, because the SdLogonUserListServers does only work with the SdLogonUserInformation dialog. If i try to call the SdLogonUserListServers directly then the list is empty.
I need this dialog to enable endusers to choose the COM Proxy Server. The dialog should save the return value in the property table.

kind regards

Stephan


Donzer

Donzer
  • Full Members
  • 29 posts

Posted 16 June 2006 - 16:02

Hi

I needed to search for servers on a network and have been using this function quite successfully ...

BIF_BROWSEFORCOMPUTER

case Server65Search:
nResult = SelectDirEx("Locate Server","Please select the SQL 6.5 Server.",
"", "", BIF_BROWSEFORCOMPUTER,svServer65);
if nResult = IDOK then
CtrlSetText(svDialogName, Server65, svServer65);
endif;

I have a dialog with a push_button funtion that activates this code and then sets the server name into variable svServer65.

Hope that helps .... just let me know if you need any more info on this code

Donna