Autor Beitrag
BennyM
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Mo 07.04.03 16:47 
Hallo,
wie kann ich die Befehle die in der "Ausführen - Box" stehen löschen?
Mfg und vielen Dank
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Mo 07.04.03 18:42 
Einfach den Schlüssel HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\RunMRU löschen!

maxk

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
BennyM Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 45



BeitragVerfasst: Di 08.04.03 09:10 
Danke maxk aber kannst du mir jetzt noch einen beispiel Quellcode schicken wie ich per Delphi diesen Schlüssel lösche ??? :? Wäre cool Danke
Tino
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Veteran
Beiträge: 9839
Erhaltene Danke: 45

Windows 8.1
Delphi XE4
BeitragVerfasst: Di 08.04.03 10:52 
Hi,

in der Unit Registry.pas findest du die Klasse tRegistry. Mit Hilfe dieser Klasse kannst Du mit der Registry arbeiten. Schau Dir mal die Hilfe dazu an und such auch mal hier im Forum nach tRegistry.

Gruß
Tino
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Mi 09.04.03 07:41 
ausblenden Quelltext
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
uses Registry;
.
.
.
begin
 with TRegistry.Create do try
  RootKey:=HKEY_CURRENT_USER;
  if not OpenKey('\Software\Microsoft\Windows\CurrentVersion\Explorer',False) then exit;
  DeleteKey('RunMRU');
 finally
  Free;
 end;
end;

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.
maxk
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1696
Erhaltene Danke: 1

Win XP, Debian Lenny
Delphi 6 Personal
BeitragVerfasst: Mi 09.04.03 09:51 
Ich sehe gerade, dass der Erfolg (unter Windows XP) erst nach einem Neustart sichtbar ist...

maxk

_________________
Ein Computer wird das tun, was Du programmierst - nicht das, was Du willst.