Autor Beitrag
René R.Fo.
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 116

Win7
Delphi5 Delphi2005
BeitragVerfasst: Do 18.06.09 17:34 
Hallo ich wollte wissen wie ich ein paar mp3´s in ein Form einfüge und auf Knopfdruck abgespielt wird.

_________________
If Promille or Cannabis.Volumen > IQ then
dec(Gehirnzellen.Anzahl);
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: Do 18.06.09 17:36 
das kannst du, wenn du dein mp3 im programm gespeichert haben willst mit ressource und dem TMediaplayer machen.
ein tutorial über ressourcen findest du afaik in unserer codelibrary.

lg elundril

_________________
This Signature-Space is intentionally left blank.
Bei Beschwerden, bitte den Beschwerdebutton (gekennzeichnet mit PN) verwenden.
Popov
ontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic starofftopic star
Beiträge: 1655
Erhaltene Danke: 13

WinXP Prof.
Bei Kleinigkeiten D3Pro, bei größeren Sachen D6Pro oder D7
BeitragVerfasst: Do 18.06.09 18:16 
Müssen sie in der Exe integriert sein? Du kannst sie auch im gleichen Ordner haben und abspielen. Die meisten Programme haben die Sounddateien im Ordner.

_________________
Popov
René R.Fo. Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 116

Win7
Delphi5 Delphi2005
BeitragVerfasst: Fr 19.06.09 14:14 
ich habe es jetzt eingefügt aber ich möchte ja nur über das Menü die musik laufen lassen aber ich habe nur eine schleife und es geht nicht aus.

_________________
If Promille or Cannabis.Volumen > IQ then
dec(Gehirnzellen.Anzahl);
Andreas L.
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1703
Erhaltene Danke: 25

Windows Vista / Windows 10
Delphi 2009 Pro (JVCL, DragDrop, rmKlever, ICS, EmbeddedWB, DEC, Indy)
BeitragVerfasst: Fr 19.06.09 14:31 
user profile iconelundril hat folgendes geschrieben Zum zitierten Posting springen:
...TMediaplayer....
mit Visible = False unsichtbar machen. Ansonsten

Suche in: Delphi-Forum, Delphi-Library BASS
Suche in: Delphi-Forum, Delphi-Library FMOD
JvWavePlayer aus der Jedi VCL (wenns nicht unbedingt mp3 sein muss)