27-12-2012, 01:13 PM
PHP كود :
procedure TForm1.btn3Click(Sender: TObject);
begin
with TRegistry.Create do
try
RootKey := HKEY_CLASSES_ROOT;
if OpenKey('\*\shell\', true) then
begin
if OpenKey(InputBox('Imag up :: ','ShellName : ','Image up')+'\command', true) then
WriteString('', '"'+Application.ExeName+'" "%1"');
end;
finally
Free;
end;
end;
http://www.delphi4arab.net/forum/showthr...p?tid=7324

