A Picture Viewer Application
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:
The menuStrip is built as shown below with mnuOpen, mnuSelectFolder and mnuExit.
- 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
Don't forget to add the short cut keys and the separator (-)
The form will look like this: