chaining a mp3 to a program

hey could someone give me an example code for running a song with windows media player?

Comments

Chaining WAV files

Hi,

The code you need is:
LET target$="mysong.wav" ! insert you own file here
LET nextprogram$="!rundll32.exe url.dll, FileProtocolHandler " & target$
CHAIN nextprogram$,RETURN

Big John

Confused.com

Hi, I tried the code you provided and put in my own song in but can't get it to play.
Do you have any more details, I'm not very well educated in inserting sound files.

running WAV files

Hi,

In order to run wav files you need to set up a file association in windows that associates any wav file with Windows media player or something similar. The code I gave earlier depends on windows recognizing that it needs to run Windows media player in order to process the WAV file.

You have probably set up a similar association for TRU files so that Windows runs the TB editor when you click on a TRU file.

Big John