Вниз
Скачать: CL | DM;

В windows 98 работает а с win2k нет   Найти похожие ветки 

← →
otar   (2003-11-12 17:57) [0]

uses Registry;
...
procedure TForm1.Button1Click(Sender: TObject);
var
MyList: TStringList;
MyRegistry: TRegistry;
i: Integer;
Str: string;
begin
MyRegistry:=TRegistry.Create;
MyList:=TStringList.Create;
with MyRegistry do
begin
RootKey:=HKEY_LOCAL_MACHINE;
if OpenKey(
"Software\Microsoft\Windows\CurrentVersion\Uninstall",
False)=True then GetKeyNames(MyList);
CloseKey;

for i:=0 to MyList.Count-1 do
begin
RootKey:=HKEY_LOCAL_MACHINE;
OpenKey(
"Software\Microsoft\Windows\CurrentVersion\Uninstall\"+
MyList[i],
False);
Str:=ReadString("DisplayName");
if Str<>"" then
Memo1.Lines.Add(ReadString("DisplayName"));
CloseKey;
end;
end;
end;


← →
clickmaker ©   (2003-11-12 18:07) [1]

MyRegistry:=TRegistry.Create(KEY_READ)



Страницы: 1 вся ветка

Скачать: CL | DM;



Память: 0.44 MB
Время: 0.012 c
1-93497
Zheks
2004-01-19 10:02
2004.01.29
Проверка существования директории


14-93657
Ivolg
2004-01-09 11:57
2004.01.29
Ешник


3-93390
pashtet
2003-12-30 14:13
2004.01.29
TtreeView


3-93357
don
2003-12-30 11:32
2004.01.29
Возможно ли отключить создание лок-файла в Embedded Firebird


14-93626
Knight
2004-01-08 15:43
2004.01.29
Почему у Adobe вечно проблемы с русским?




   Наверх