I believe you can use the Microsoft Windows Media activex control to do this. Drop one on your form, and in it's init be sure to put: This.AutoPlay = .T. The reason you need this is that the Play() method does not work properly from VFP for some reason. (Someone correct me if I'm wrong.)
Then, just open the file you want to play with:
ThisForm.MediaPlayer.Open("C:\MYMP3.MP3")
>I'd like to be able to play mp3 files from my program. >Do you have any code to do this, and if not, do you know where i can find code to do this?
kenweber GCom2 Solutions Microsoft Certified Professional