In lesson 20, we have learn how to create an audio player. In this lesson, we shall create a picture viewer.This viewer will be able to search for all types of image files your drives and displays them in the picture frame.
In this project, you need to insert a ComboBox, a DriveListBox, a DirListBox, a TextBox and a FileListBox into your form. We will briefly explain again the function of each of the above controls.
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: The user chooses the type of files he wants to play.
Step2:The user selects the drive that might contains the relevant graphic files.
Step 3:The user looks into directories and subdirectories for the files specified in step1. The files should be displayed in the FileListBox.
Step 4: The user selects the files from the FileListBox and click the Show button.
Step 5: The user clicks on Exit button to end the application.
Private Sub Form_Load()
Private Sub Combo1_Change()
'Specific the types
of files to load
Private Sub Drive1_Change()
End Sub ---------> Continue on the right
Private Sub File1_Click()
Copyright ® 2008 Dr.Liew Voon Kiong . All rights reserved |Contact: email@example.com