We will do a large project in several steps.
- Start a new Visual Basic Form Application and name it PictureViewer.
- Add the following controls to the project:
- A menu strip:
- A picture box:
, PictureBox1. Set the size mode to autosize.
- A combo Box
, cboPictures.
- An open file dialog:
, OpenFileDialog1
- A FolderBrowserDialog
, FolderBrowserDialog1
- 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:
