|
-
May 29th, 2000, 11:50 AM
#1
Thread Starter
Lively Member
i try to play mp3 files, the code that i use is this:
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
Private Function Play_MM()
mciSendString "Close MM", 0, 0, 0
mciSendString "Open " & FileName & " Alias MM", 0, 0, 0
mciSendString "Play MM", 0, 0, 0
End Function
then i call the play_MM function from a command button.
well...... i tried it on 3 different computers:
1- win2000 - with vb6 installed (it works)
2- win98 - vb6 not installed (it works)
3- win98 - vb6 installed (DOESNT WORK)
i tryed asking about it in other places on the internet and i found out that
there others that cant use this to play mp3 files, and there are those who can. i dont know why, and really need help.
by the way, if the file is a wav file, then it works for all.
can anyone help me with this ?
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
|