A Picture Viewer Application

We will do a large project in several steps.

  1. Start a new Visual Basic Form Application and name it PictureViewer.
  2. Add the following controls to the project:
    • A menu strip: menu strip
    • A picture box: , PictureBox1. Set the size mode to autosize.
    • A combo Box , cboPictures.
    • An open file dialog: open file dialog, OpenFileDialog1
    • A FolderBrowserDialog , FolderBrowserDialog1
  3. The menuStrip is built as shown below with mnuOpen, mnuSelectFolder and mnuExit.
    Don't forget to add the short cut keys and the separator (-)

The form will look like this:

NEXT: Code and instructions to view a picture