by Charles Davis (2 Submissions)
Category: Files/File Controls/Input/Output
Compatability: Visual Basic 3.0
Difficulty: Beginner
Date Added: Wed 3rd February 2021
Rating: (2 Votes)
To Play the following file types:
.mpg, .mpeg, .mp3, .wav, .mid, .midi, .avi using the Microsoft Multimedia Control and the Common Dialog Box.
Inputs
Multimedia file from a list of file types.
Assumes
System Requirements:
All of these have worked on an
NT 4.0 machine with Service Pack 5
Windows 98 Second Edition
SP3 of VB 6.0
Common Dialog:
C:\Windows\System\Comdlg32.ocx (version 6.008418)
Microsoft Multimedia Control
C:\Windows\System\Mci32.ocx (version 6.008418)
To get version:
1)find the file,
2)Right Click,
3)Choose Properties,
4)Click on Version Tab
A complete list of drivers for different media types are listed below
cdaudio = mcicda.drv
sequencer = mciseq.drv
waveaudio = mciwave.drv
avivideo = mciavi.drv
videodisc = mcipionr.drv
vcr = mcivisca.drv
mpegvideo = mciqtz.drv
If you don't match criteria I cannot say that this will work.
If anyone has any tips on making a better media player using the MMControl Please let me know. I wanted to make a player that didn't require
any other programs to be on the machine.
Code Returns
The actual Multimedia effect whether Movie or sound.
Side Effects
None noticed so far.
Upload