VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

This code will play an mp3/wav file without the need of the MM control. This code was found and mod

DeepSea  (1 Submission)   Sound/MP3   VB 6.0   Unknown Difficulty   Sun 19th March 2000   Mon 8th February 2021

This code will play an mp3/wav file without the need of the MM control. This code was found and modified to fix a couple of bugs. The

API Declarations


'This is required when using the winmm.dll because the dll has problems when the filename has spaces! this is a system function that translates a path to the short name!
Private Declare Function GetShortPathName Lib "kernel32" Alias "GetShortPathNameA" (ByVal lpszLongPath As String, ByVal lpszShortPath As String, ByVal cchBuffer As Long) As Long
'Declaration for the winmm dll
Private Declare Function mciSendString Lib "winmm.dll" Alias "mciSendStringA" (ByVal lpstrCommand As String, ByVal lpstrReturnString As String, ByVal uReturnLength As Long, ByVal hwndCallback As Long) As Long
Dim FileName As String
Dim Paused As Boolean

Rate This code will play an mp3/wav file without the need of the MM control. This code was found and mod (1(1 Vote))
This code will play an mp3/wav file without the need of the MM control. This code was found and mod.bas

This code will play an mp3/wav file without the need of the MM control. This code was found and mod Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters