资 源 简 介
MP3播放器: 利用API函数[mciSendString]可以轻松实现MP3音乐文件的播放。下面这段程序实现了MP3播放的大部分常规操作,对其稍加修改,做一个100KB大小的MP3播放器轻而易举 启动VB程序,在窗体上放置6个命令按钮,三个标签,一个公用对话框、一个进度条、一个状态栏和一个计时器,窗本的布置请参考附图 按钮"Open MP3 File"是用来打开对话框选择MP3文件,其他5个按钮分别为Play(播放)、Pause(暂停)、Stopplay(停止播放)、Back(向后跳跃)、Prew(向前跳跃)。Label1用来表示歌曲当前时间;label2放在时度条的最左边,Caption属性为"00:00";lable3放在时度条的右边,用来表示歌曲总长。-MP3 player : API function [mciSendString] can easily MP3 music player. Below this program of the MP3 player most of the conventional operation, its slightly modified, so the size of a 100KB MP3 player easily activated VB procedures, the forms to place orders six buttons, three label, a common dialog, a progress of a status bar and a 000 timer, the window layout of the buttons refer to the attached map. "MP3 File Open" is used to open the dialog box choose MP3 files, the other five buttons for Play (player), Pause (suspended), Stopplay (Cessation of players), Back (backwards jump), Prew (leap forward). Label1 songs said to the current time; Label2