Einzelnen Beitrag anzeigen

sharkx

Registriert seit: 24. Feb 2003
Ort: St. Ingbert
211 Beiträge
 
Delphi 7 Enterprise
 
#6
  Alt 15. Apr 2003, 17:36
Ganzes Thema gelöst

Code:
procedure TForm1.Configuration1Click(Sender: TObject);
begin
if
ShellExecute(application.handle,Pchar('open'),Pchar('notepad'),Pchar(ExtractFilePath(ParamStr(0))+ 'Settings.ini'),Pchar(''),
sw_ShowNormal) >= 32
  then
    showmessage('Config-File must be reload!.')
      else
        showmessage('Notepad not found!');

end;
  Mit Zitat antworten Zitat