|
-
Dec 13th, 1999, 03:42 AM
#1
Is there any way to play sound formats other than midi and wave in VB? Specifically, I was wondering if there's any way of playing MOD, IT, XM, etc. Any help would be appreciated.
-
Dec 21st, 1999, 07:46 PM
#2
Member
Here's something which I've copied and pasted as replies to so many that have problems with playing files - hope it's of some use:
You can use the Microsoft Multimedia Control 6.0 (MCI32.OCX) component which will basically play anything provided that you have got the appropriate codec installed.
What you might have to do is get MS Windows Media Player 2 and run whatever files through you are likely to play so that it will automatically download and install the appropriate codec (eg. MP3 codec).
If it will play it through WinMediaPlayer then select the above component and sticj one on your form.
The use the following code to open files...
mmcontrol1.filename = commondialog1.filename
mmcontrol1.command = "open"
You should be able to use the commands or the controls on the form to control it.
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
|