Autor Beitrag
SLDZ
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 21



BeitragVerfasst: So 08.04.07 12:11 
Ich brauche ein Programm (oder Code) mir 2 Buttons, wenn ich Button1 Anklicke Startet er exe1 und wenn ich Button2 anklicke Startet er exe2. Da ich überhaupt keine Ahnung von Delhi habe und alle Codes die ich hier finde "irgendwie" nicht funktionieren (irgendein Fehler :P ) bitte ich euch darum.

Vllt. hat einer von euch kurz zeit und Codet mir sowetwas. Wäre euch sehr dankebar ;)

P.S.: Sorry wenn das hier die Falsche Sektion ist ;)

mfg
SLDZ
Fabian E.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 554

Windows 7 Ultimate
Visual Studio 2008 Pro, Visual Studion 2010 Ultimate
BeitragVerfasst: So 08.04.07 12:15 
Such mal nach "ShellExecute"
und vergiss nicht die unit "ShellAPI" einzubinden
SLDZ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 21



BeitragVerfasst: So 08.04.07 12:16 
Und wie binde ich das ein o.O

Sorry für die dumme frage :)
Danniolo
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 693



BeitragVerfasst: So 08.04.07 12:25 
Scroll mal nach ganz oben in deinem Source, da steht was von uses. Dort fügst du dann vor das Semikolon ein , ShellAPI ein.
Dann kannst du später per ShellExecute eine andere Anwendung aus deinem Programm starten.
SLDZ Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 21



BeitragVerfasst: So 08.04.07 12:29 
Super! Hat geklappt! Danke sehr :)
Timosch
ontopic starontopic starontopic starontopic starontopic starofftopic starofftopic starofftopic star
Beiträge: 1314

Debian Squeeze, Win 7 Prof.
D7 Pers
BeitragVerfasst: So 08.04.07 15:35 
Und für weitere Grundlagen ist auch dieses Tutorial zu empfehlen:
dsdt.info/tutorials/crashkurs/

_________________
If liberty means anything at all, it means the right to tell people what they do not want to hear. - George Orwell