Description: Using the API function [McISendString] can easily play the MP3 music file. The following program implements most of the routine of MP3 playback, with a slight modification, it is easy to make a 100KB MP3 player
Start VB program, place 6 command button on the form, three labels, a public dialog box, a progress bar, a status bar and a timer, the layout of the window book please refer to the attached drawings
The button "Open MP3 File" is used to Open the dialog box to select MP3 files, the other five buttons are Play (Play), Pause (Pause), Stopplay (stop Play), Back (backward jump), Prew (forward jump). Label1 is used to indicate the current time of the song; Label2 is at the left of the time bar, and the Caption attribute is "00:00"; Lable3 is placed on the right of the time bar to indicate the total of the song
To Search:
File list (Check if you may need any files):