penfold69
asked on
username
how can i get my icq username with delphi code?
please help
can post more points if necessary
please help
can post more points if necessary
Also another way you could do this is with the use of ICQ's API for developers: http://www.icq.com/api/
ASKER
does not work?
do u have any other code that can get details from ICQ ie
users on my contact list etc?
do u have any other code that can get details from ICQ ie
users on my contact list etc?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Just drop a TButton and TMemo on a form and then add the below code to the TButton's OnClick event. Also don't forget to add 'Registry' to the uses clause of the unit.
procedure TForm1.Button1Click(Sender
var
Reg : TRegistry;
UINS : TStringList;
I : Integer;
begin
Memo1.Clear;
UINS := TStringList.Create;
Reg := TRegistry.Create;
with Reg do
begin
try
RootKey := HKEY_LOCAL_MACHINE;
OpenKey('Software\Mirabili
GetKeyNames(UINS);
for I := 0 to UINS.Count - 1 do
begin
CloseKey;
OpenKey('Software\Mirabili
Memo1.Lines.Add(UINS[I] + ': ' + ReadString('Name'));
end;
CloseKey;
finally
Free;
end;
end;
end;
Cheers,
Alan