|
|
|
In lesson 20, we have created an audio
player. Now, by making more modifications, you can transform the audio
player into a multimedia player. This player will
be able to search for all types of movie files and audio files.
your drives and play them.
In this project, you need to insert a ComboBox, a
DriveListBox, a DirListBox, a TextBox ,a FileListBox and a
picture box
(for playing movie) into your form. I Shall briefly discuss the function
of each of the above controls. Besides, you must also insert Microsoft
Multimedia Control(MMControl) into your form , you may make it visible or
invisible. In my program, I choose to make it invisible so that I could use the
command buttons created to control the player.
- ComboBox- to display and enable selection of different
type of files.
- DriveListBox- to allow selection selection of different
drives available on your PC.
- DirListBox - To display directories
- TextBox - To display selected files
- FileListBox- To display files that are available
|
|
Relevant codes must be written to coordinate all the above
controls so that the application can work properly. The program should flow in
the following logical way:
Step 1: User chooses the type of files he wants to play.
Step2:User selects the drive that might contains the
relevant audio files.
Step 3:User looks into directories and subdirectories for
the files specified in step1. The files should be displayed in the
FileListBox.
Step 4: User selects the files from the
FileListBox
and clicks the Play button.
Step 5: User clicks on the Stop button to stop playing and Exit
button to end the application.
|