dOPC Client Toolkit Help file
TdOPCServerBrowser.GetOPCServers Method
C++
public: __fastcall GetOPCServers(
    AnsiString Computername
);
C#
public GetOPCServers(
    String Computername
);
Visual Basic
Public Sub GetOPCServers(
    Computername As String
)

GetOPCServers calls the Execute method with the passed Computername.

var
  i: integer;
  Serverlist: TStringlist;
begin
  Serverlist := TStringlist.create;
  GetOPCServers(Serverlist);
  for i := 0 to Serverlist.Count-1 do
    ShowMessage(Serverlist[i]);
  ServerList.Free;
end;
What do you think about this topic? Send feedback!
Copyright © 2001-2014 Kassl GmbH (http://www.kassl.de). All rights reserved.