Looking for a freeware MP3 activeX control or source code. I know there are a couple of shareware ones but who the heck wants those.
Printable View
Looking for a freeware MP3 activeX control or source code. I know there are a couple of shareware ones but who the heck wants those.
I'll answer my own question here I guess...
go into Project...controls...browse for msdxm.ocx and add it. The add the Windows Media Player control to a form and anywhere in the program you can play an mp3 by:
frmMain.MediaPlayer1.Open [filepath\filename]
To Stop the music:
frmMain.MediaPlayer1.Stop
Pretty simple I guess... no more wav files in my applications. :)
If you go to www.winamp.com and search for "OCX" you can find one there. I downloaded it, but haven't got around to trying it yet.
You could also use Winamp itself, it fairly easy to send messages to and provides all the functionality you could ever want... unless you're trying to compete with them ;)