I tried to search the forum for this answer but I can't find it. I want to play the midi in the same folder, not like "open C:\xxx..." but "open \xxx...", but it doesn't work.
THx
Printable View
I tried to search the forum for this answer but I can't find it. I want to play the midi in the same folder, not like "open C:\xxx..." but "open \xxx...", but it doesn't work.
THx
Use App.Path to tell your app's directory.
"open " & App.Path & "\xxx..."
Or change the directory first.
Code:ChDir App.Path
PlayMIDI "MyFile1.mid"
PlayMIDI "MyFile2.mid"
PlayMIDI "MyFile3.mid"
'Etc.
I just want to point this out that I used this in making this program http://www.Electroman.co.uk/FighterL.ZIP
I didn't have to put
I just put the filename and that was it.Code:App.Path
That's true, but just for double-checking, it's a good idea to change the directory first, with ChDir.
Thanks alot guys
:) :) :)