
-----------------------------------
Da_Big_Ticket
Sun Jan 22, 2006 10:53 am

Help Needed to exit a process (Music)
-----------------------------------
Im running a program with music, and i have a procedure to bring up a closing screen when the user clicks a button i made. The music i have running in a process remains to run even when all windows are closed. I have knowledge of Music.PlayFileStop and Music.SoundOff, but these commands does not exit the process they stop the song for a second and then the song runs again. Right now i have this code but is still not solving the problem


loop
Music.PlayFileStop
end loop


This stops the music from being outputted but it obviously still makes the program run in the background without windows. Anyone have a solution?

-----------------------------------
Da_Big_Ticket
Sun Jan 22, 2006 11:14 am


-----------------------------------
* BUMP *

-----------------------------------
Delos
Sun Jan 22, 2006 12:15 pm


-----------------------------------
Ok, never bump a topic half an hour after posting it.  That is just...wrong.  People are here on their own time helping out other people.  No one gets paid, we rarely get recognized.  We do this because, well, we can and because we feel this community has a lot to offer.

Press F10.  Look up Music.PlayFileReturn().  This is far superior to using a process and Music.PlayFile() within it.

-----------------------------------
MysticVegeta
Sun Jan 22, 2006 12:29 pm


-----------------------------------
Music.PlayFileLoop
to stop ->
Music.PlayFileStop

Check out the param. in F10 
Note: works only in Turing 4.05

-----------------------------------
Da_Big_Ticket
Sun Jan 22, 2006 1:04 pm


-----------------------------------
Thanks man, it worked.

Sorry about the bump, I knew it wasnt smartest thing to do because it is somewhat ignorant, its just turing can fustrate me easlily and take unnecessary time and im kind of stressed out baout the program (worth 15% overall mark)

-----------------------------------
codemage
Mon Jan 23, 2006 1:42 pm


-----------------------------------
Best way to end processes is to not start them in the first place. :cry:

-----------------------------------
blaster009
Mon Jan 23, 2006 5:09 pm


-----------------------------------
Every time I see a process I want to put my foot through my computer...Bleeding, laggy, inefficient things...
