Login | Register   
Twitter
RSS Feed
Download our iPhone app
TODAY'S HEADLINES  |   ARTICLE ARCHIVE  |   FORUMS  |   TIP BANK
Browse DevX
Sign up for e-mail newsletters from DevX


advertisement
Search the Tips

Multimedia Formats

1-20 of 29     Previous     Next
ExecuteMCICommand - Executing a MCI command
by Alberto Falossi
helper routine; executes a MCI command commandString is the command to execute deviceAlreadyOpened must be set to true if the caller has already opened the device
GetMCIErrorString - Retrieving the description of a MCI error
by Alberto Falossi
Get the description of a MCI error. ErrorCode is the code of the error Return a string with the description of the error.
IsSoundCardSupported - Returns whether a sound card is supported
by Alberto Falossi
IsSoundCardSupported - Returns whether a sound card is supported
Opening and closing the CD door
by Alberto Falossi
Opening and closing the CD door
PlayAVIAudioOFF - Playing an AVI file synchronously without the audio track
by Alberto Falossi
Play an AVI file synchronously without the audio track. fileName is a string containing the full path of the file. Notes: requires the ExecuteMCICommand routine
PlayAVIPictureBox - Playing an AVI file in a PictureBox synchronously
by Alberto Falossi
Play an AVI file in a PictureBox synchronously. fileName is a string containing the full path of the file. window is the PictureBox in which you want that the movie is played; the movie is automatically resized to the picture box's dimentions Notes: requires the ExecuteMCICommand routine
PlayAVIVideoOFF - Playing the audio track of an AVI file
by Alberto Falossi
Play the audio track of an AVI file. fileName is a string containing the full path of the file. Notes: requires the ExecuteMCICommand routine
PlayWAV - Playing a WAV file
by Alberto Falossi
Play a WAV file. fileName is a string containing the full path of the file. If synchronousMode is true, the sound is played synchronously Returns true if no errors occurred
Open and close the CD drive's door
by Francesco Balena
Here's a short code snippet that lets you programmatically open and close the CD door. Note that not all the CD drives support these functions: Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As ...
GetMP3Info - Get info in the standard ID3 tag of the specified MP3 file
by Marco Bellinaso
Retrieve the informations contained into the standard ID3 tag of the specified MP3 file Return an array of 6 elements with the following meaning: - index 0: song title - index 1: artist - index 2: album - index 3: year - index 4: comment - index 5: genre: this is an integer value --> ...
Minimizing Flicker in Animation
by Nitin Garg
Flickering in animation is caused due to the default behavior ...
Determine the total playing time of an Audio CD
by Francesco Balena
The Microsoft Multimedia Control lets you easily determine the total playing time of an Audio CD: you only need to correctly initialize the control and then decipher the value returned by its Length property. Use the following code as a guideline for your routines: Private Sub ...
Retrieve the length of a media file (WAV, AVI, MIDI)
by Alberto Falossi
You can retrieve the length of a standard windows media file (WAV, AVI or MIDI) using simple MCI functions. First, you must open the file with: Declare Function mciSendString Lib "winmm" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal ...
A better beep
by Francesco Balena
If you aren't satisfied with the standard Beep command (who is?) you can use the Beep API function instead, that lets you control both the frequency (in Hertz) and the duration (in milliseconds) of the beep. Note that you need an aliased Declare to avoid a name conflict with the VB command:
GetMCIErrorString - Get a description of an MCI error
by Alberto Falossi
Get the description of a MCI error. ErrorCode is the code of the error Return a string with the description of the error.
PlayAVIAudioOFF - Play an AVI file without the audio track
by Alberto Falossi
Play an AVI file synchronously without the audio track. FileName is a string containing the full path of the file.
PlayAVIPictureBox - Play an AVI file in a PictureBox
by Alberto Falossi
Play an AVI file in a PictureBox synchronously. FileName is a string containing the full path of the file. Window is the PictureBox in which you want that the movie is played; the movie is automatically resized to the picture box
PlayAVIVideoOFF - Play only the audio track of an AVI file
by Alberto Falossi
Play the audio track of an AVI file. FileName is a string containing the full path of the file.
PlayWAV - Play a WAV file
by Alberto Falossi
Play a WAV file. FileName is a string containing the full path of the file. If SyncExec is True, the sound is played synchronously Returns True if no errors occurred
SetVolume - Set the master volume level
by Alberto Falossi
Set the master volume level. VolumeLevel is the level value in percentage (0 = min, 100 = max) Returns True if successful
1-20 of 29     Previous     Next
Sitemap