erstmal danke
aber warum meckert er da :
Code:
procedure AddComputerToList(Value: TNetResource);
var strRemoteName: String;
begin
strRemoteName := Value.lpRemoteName;
if Value.dwDisplayType <> RESOURCEDISPLAYTYPE_SERVER THEN Exit;
ListBox.Items.Add(strRemoteName);
end;
das da:
[Error] Unit1.pas(30): Undeclared identifier: 'ListBox'
[Error] Unit1.pas(30): Missing operator or semicolon
[Fatal Error] Project1.dpr(5): Could not compile used
unit 'Unit1.pas'
?
thx 4 hlp