|
-
Oct 1st, 2000, 12:35 PM
#1
Thread Starter
New Member
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
-
Oct 1st, 2000, 12:43 PM
#2
Use App.Path to tell your app's directory.
"open " & App.Path & "\xxx..."
-
Oct 1st, 2000, 02:35 PM
#3
Or change the directory first.
Code:
ChDir App.Path
PlayMIDI "MyFile1.mid"
PlayMIDI "MyFile2.mid"
PlayMIDI "MyFile3.mid"
'Etc.
-
Oct 1st, 2000, 02:45 PM
#4
Ex-Super Mod'rater
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.
When your thread has been resolved please edit the original post in the thread (  )
and amend "-[RESOLVED]-" to the end of the title and change the icon to  , Thank you.
When posting Code use the [VBCode]Code Here[/VBCode] tags to be able to use the code highlighting.

-
Oct 1st, 2000, 04:08 PM
#5
That's true, but just for double-checking, it's a good idea to change the directory first, with ChDir.
-
Oct 1st, 2000, 11:14 PM
#6
Thread Starter
New Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|