|
-
Nov 20th, 2011, 04:38 PM
#1
Thread Starter
New Member
Can't play MP3 with VB 6 and MMControl
I'm using Windows XP +SP3 and Visual Basic 6
For the life of me, I can not play MP3 audio files with MMControl.
WAV files play OK. The MP3 files play using other commerical audio players so I know the file is OK.
Here's my code:
MMControl1.Command = "close"
MMControl1.Notify = False
MMControl1.Wait = True
MMControl1.Shareable = False
MMControl1.FileName = ProgPath + "James.mp3"
MMControl1.Command = "Open"
MMControl1.Command = "Play"
I have tried adding MMControl1.DeviceType with "WaveAudio" and
"MPEGVideo" but I get the same results: WAV plays, MP3 does not.
I have downloaded a couple of VB6 MMControl programs from Planet Source that are reported to play MP3 audio but I get the same results. WAV yes, MP3 no.
Are there any other settings that I need to make to get this thing to work?
All help is greatly appreciated!!
Peter
Tags for this Thread
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
|