VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Only three lines of code for a MP3 and WAVE file player. You can play any mp3 or wave file this is

by Liaqat Fayyaz (10 Submissions)
Category: Sound/MP3
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 18th August 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Only three lines of code for a MP3 and WAVE file player. You can play any mp3 or wave file this is the simplest code for playing Mp3 asnd wave

API Declarations





Rate Only three lines of code for a MP3 and WAVE file player. You can play any mp3 or wave file this is



    a = "stop " & Text1
    s = mciExecute(a)
End Sub

Private Sub Command2_Click()
    a = "play " & Text1
    s = mciExecute(a)
End Sub

Private Sub Command3_Click()
    cd.ShowOpen
    Text1 = cd.FileName
End Sub

Private Sub Command4_Click()
    a = "pause " & Text1
    s = mciExecute(a)
End Sub

Download this snippet    Add to My Saved Code

Only three lines of code for a MP3 and WAVE file player. You can play any mp3 or wave file this is Comments

No comments have been posted about Only three lines of code for a MP3 and WAVE file player. You can play any mp3 or wave file this is . Why not be the first to post a comment about Only three lines of code for a MP3 and WAVE file player. You can play any mp3 or wave file this is .

Post your comment

Subject:
Message:
0/1000 characters