Autor Beitrag
elundril
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mo 20.02.06 17:23 
ich will das man ein programm ein anderes Programm (internet Explorer, und sich selbst) aufruft. wie mach ich das??
mfg elundril


Moderiert von user profile iconChristian S.: Topic aus VCL (Visual Component Library) verschoben am Mo 20.02.2006 um 17:29
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mo 20.02.06 17:28 
:roll: Suchfunktion benutzen! ;)

Dann wärst du auch hier drauf gestoßen:

www.delphi-forum.de/...55827&highlight=

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
elundril Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 3747
Erhaltene Danke: 123

Windows Vista, Ubuntu
Delphi 7 PE "Codename: Aurora", Eclipse Ganymede
BeitragVerfasst: Mo 20.02.06 17:40 
Versteh ich nicht!!! könntest du es mir nochmal erklären?? :(
Marc.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 1876
Erhaltene Danke: 129

Win 8.1, Xubuntu 15.10

BeitragVerfasst: Mo 20.02.06 17:49 
user profile iconKoller hat folgendes geschrieben:
Joah.

Mit shellexecute (einfach nach suchen) die Nero-EXe starten.


du sollst hier im forum nach "shellexecute" suchen ;) :lol:
denn dieser befehl dient dazu andere programme zu öffnen/aufzurufen...
Marco D.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 2750

Windows Vista
Delphi 7, Delphi 2005 PE, PHP 4 + 5 (Notepad++), Java (Eclipse), XML, XML Schema, ABAP, ABAP OO
BeitragVerfasst: Mo 20.02.06 17:50 
So geht dis ;):

ausblenden Delphi-Quelltext
1:
2:
3:
4:
5:
6:
uses Shellapi;

ShellExecute(Application.Handle,
                 'open',
                 PChar('C:\index.html'),
                 Nil, Nil, SW_NORMAL);

_________________
Pascal keeps your hand tied. C gives you enough rope to hang yourself. C++ gives you enough rope to shoot yourself in the foot
Hux
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 171



BeitragVerfasst: Di 21.02.06 12:50 
Mit Shellexecute oder CreateProcess...

Beispiel mit ShellExecute
ausblenden Delphi-Quelltext
1:
ShellExecute(Application.Handle,'open',Pchar('C:\Programme\INternetExplorer\iexplorer.exe'),nil,nil,sw_normal);					


CreateProcess --> Musch halt mal auf dsdt.info glubschen.., da gibt es sicher was...

Achja..., wenn du z.B. Den Editor aufrufen willst, müsste es eigentlich auch gehen, wenn du statt den Pfad nur notepad.exe eingibst....

Also des funktioniert wie Start, Ausführen...
Hux
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 171



BeitragVerfasst: Di 21.02.06 12:52 
verdammt, koller hat des schon mit dem ShellExecute gesagt...
sry..., nicht durchgelesen...

Aber mit CreatePRocess kann man PRogs viel detaillierter starten...