Autor Beitrag
MarkusBauer
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 70

Win XP Pro
Delphi 7 PE+Indy
BeitragVerfasst: Di 31.10.06 15:32 
Hallo,
ich möchte eine externe Anwendung so starten, dass weder das Fenster noch der Eintrag in der Taskleiste sichtbar ist. Wie ist dies möglich? :?:
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Di 31.10.06 15:44 
das geht ganz einfach, in dem du bei shellexecute den paramter sw_hide anstelle von sw_shownormal setzt:
ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
uses 
 shellapi;
...
begin
  shellexecute(handle,'open',pchar('notepad.exe'),nil,0,sw_hide);
;)