![]() |
Application läuft nicht.
Hallo,
Weiß jemand warum das nicht funktioniert??? Ich habe keine Ahnung. Ich weiß auch nicht was.
Delphi-Quellcode:
procedure TFTagessicherung.Button2Click(Sender: TObject);
var f, p, d : string; begin f:='pacomp.exe'; p:='-a -c2 -p -q '+(DateToStr)+' '.zip Edit1.Text+1*.db'; ShellExecute(FTagessicherung.handle,nil,PChar(f),PChar(p),PChar(ExtractFileDir(Application.ExeName)), 1); end; |
Re: Application läuft nicht.
Zitat:
Delphi-Quellcode:
mfG
procedure TFTagessicherung.Button2Click(Sender: TObject);
var f, p, d : string; begin f := 'pacomp.exe'; p := '-a -c2 -p -q '+(DateToStr)+' .zip' + Edit1.Text+'1*.db'; // da fehlte ein ' / und was soll DateToStr ShellExecute(FTagessicherung.Handle, 'open', PChar(f), PChar(p), PChar(ExtractFilePath(Application.ExeName)), SW_SHOWNORMAL); end; mirage228 |
Re: Application läuft nicht.
Ist die Datenbank noch offen, bzw. bestehen Verbindungen darauf?
|
Re: Application läuft nicht.
Zitat:
Delphi-Quellcode:
oder sehe ich da was falsch?
p:='-a .c2 -p -q '+(DateToStr)+'.zip'+Edit1.Text+1*.db
|
Alle Zeitangaben in WEZ +1. Es ist jetzt 03:20 Uhr. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024-2025 by Thomas Breitkreuz