Autor Beitrag
V!P3R
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 151



BeitragVerfasst: Di 16.10.07 15:19 
hi, ich wollte mir ein programm proggen, was mir die wichtigsten exe.datein öffnet

mit folgendem:

ausblenden Delphi-Quelltext
1:
2:
3:
 1:
  
ShellExecute(0'open', PChar('firefox.exe'), PChar(''), nil, SW_SHOW);

kann man firefox öffnen, aber nur icq, firefox, inetexplorer kann mann so aufrufen

wie schafft man es das mann alle aufrufen kann?
zB:

ausblenden Delphi-Quelltext
1:
 //C:/Programme/Borland/Delphi/Delphi.exe					



MfG
TProgger
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 148

XP
D6, D2007 prof
BeitragVerfasst: Di 16.10.07 15:38 
Mit ShellExecute kann man doch alle aufrufen.
Es muss nur der Dateiname und der Pfad bekannt sein.
Miri
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 657


Delphi 3 Prof., Delphi 2005 PE
BeitragVerfasst: Di 16.10.07 15:39 
user profile iconV!P3R hat folgendes geschrieben:
ausblenden Delphi-Quelltext
1:
 //C:/Programme/Borland/Delphi/Delphi.exe					

Schon mal probiert, die Pfadangabe richtig zu machen?
Nimm mal Backslashes statt Slashes:
ausblenden Delphi-Quelltext
1:
C:\Programme\Borland\Delphi\Delphi.exe					

_________________
Anonymes Eckenkind