Autor Beitrag
Death666Metal
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 22

Win XP
Delphi 7/html/php/flash/basic/c++
BeitragVerfasst: Sa 27.05.06 18:53 
Hi!
Ma ne Frage. Wie schreibt man das automatisch beim Öffnen der "programm.exe" eine MP3-Datei abgespielt wird?
Muss man da im Objekt-Inspektor bei der TForm1 irgendwo etwas eingeben oder als procedure oder???
Ich hoffe ihr versteht was ich meine....
Jetzt schon RIESEN THX!!!!!


Moderiert von user profile iconChristian S.: Topic aus Delphi Tutorials verschoben am Sa 27.05.2006 um 20:13
Ivo@CoMRoK
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 258

Win XP
D3 Prof., D7 Pe.
BeitragVerfasst: Sa 27.05.06 19:47 
Also normal würd ich einfach die OnCreate Prozedur aufrufen und da was wie
ausblenden Delphi-Quelltext
1:
2:
3:
Mediaplayer.Filename := 'X';
Mediaplayer.Open;
Mediaplayer.Play;

oder willst du das in ne Resourcen Datei packen dann Suche in: Delphi-Forum RESOURCEN.
Hoffe geholfen zu haben.

_________________
Fällt der Bauer tot vom Traktor, stand am Waldrand ein Reaktor.
Ein altes indianisches Sprichwort besagt:Es kann gefährlich sein gelben Schnee zu essen.