procedure CreateExplorerButton(Path: string);
const
Tagit = '\\';
var
Reg: TRegistry;
Path: string;
Path1: string;
Merge: string;
begin
Path := 'c:\your_program_path';
Reg := TRegistry.Create;
try
with Reg do
begin
RootKey := HKEY_LOCAL_MACHINE;
Path1 := 'Software\Microsoft\Internet Explorer\Extensions';
Merge := Path1 + Tagit;
OpenKey(Merge, True);
WriteString('ButtonText', 'ButtonText');
WriteString('MenuText', 'Tools Menu Item');
WriteString('MenuStatusBar', 'Run Script');
WriteString('ClSid', '');
WriteString('Default Visible', 'Yes');
WriteString('Exec', Path + '\ProgramName.exe');
WriteString('HotIcon', ',4');
WriteString('Icon', ',4');
end
finally
Reg.CloseKey;
Reg.Free;
end;
end;
__________________
İnternet Explorera Button eklemek
Programlama0 Mesaj
●29 Görüntüleme
- ReadBull.net
- Programlama ve Yazılım
- Programlama
- İnternet Explorera Button eklemek