Library code snippets

MP3 Player

This project develops on a previously posted project for creating an MP3 Player using Microsoft's Media Player OCX.  I have added five modules (.bas) to save the list of MP3 songs whenever the user modifies the listbox.  When the main form (frmMain) loads, the listbox is populated from a text file that contains the song list previously saved.   To clean up the main interface a little bit, I also added a form to edit the MP3 tag and another form to pick the directory where the MP3 files may be located.

Where appropriate, I gave credit to all the websites where I got sample code to do many of the tasks I wanted to do.

  • Some features and VB techniques used are:
  • Random Function to play random songs; methods to Add, delete, and clear a listbox' contents;
  • Control Master Windows Volume via API call;
  • Open a text file for input and output;
  • Read contents/lines from text file;
  • Load a Picture from a file into ImageBox;
  • Popup Menus;
  • Drag and Drop Files into Listbox from Windows Explorer via API;
  • Controlling Media Player to play next, previous, and stop current song.

Comments

  1. 21 Jan 2003 at 14:50

    I like the idea of the mp3 player i have created many with in my years as a vb programmer the one thing i think you should work on is a error handler. to put it simplie you program is bugie

  2. 01 Jan 1999 at 00:00

    This thread is for discussions of MP3 Player.

Leave a comment

Sign in or Join us (it's free).

AddThis

Related discussion