Music Player----help
Author |
Message |
milz
|
Posted: Thu May 05, 2005 9:36 am Post subject: Music Player----help |
|
|
hey!! well im stuck at something and just need a little help so yeah... Ok so i am trying to make a MUSIC PLAYER in turing.. it works fine but i dont know how to uplode file from the E:\\ drive of the computer.. or C:\\
i want to make it like so that everyone that uses the music player program could have a choice to choose a song from their own comptuer so yeah.. if you think you could help me please contact me at
mil_n-ice@hotmail.com |
|
|
|
|
 |
Sponsor Sponsor

|
|
 |
Delos

|
Posted: Fri May 06, 2005 9:42 am Post subject: (No subject) |
|
|
For this you'll need to use Dir. commands to locate files, simple index()ing of file names, and of course the Music. commands to play the file.
First you'll have to set up a directory system where the User can select a directory, then using the Dir. commands open that directory and extract the names of all files.
Index() them on a ".mp3", ".wav", etc pattern to locate only music files.
Display a list of files, and allow the User to select which one to play. Use the Music. commands for this.
See, simple. |
|
|
|
|
 |
milz
|
Posted: Fri May 06, 2005 11:49 am Post subject: (No subject) |
|
|
Yo what do u mean by taht could u like put it in codes please so i can C what uu mean |
|
|
|
|
 |
Paul

|
Posted: Fri May 06, 2005 2:09 pm Post subject: (No subject) |
|
|
check out the dir commands in your turing reference, I'm pretty sure you'll learn fast enough from there, its not very difficult. And it has the code that you want. |
|
|
|
|
 |
|
|