all i want to know is how to use microsoft common dialog,so here is the scheme on what i want to make. check below

1.How to set a comman like when a user press the browse button a browse dialog will pop up and it has a open button and a cancel button and also user can only browse only a jpg and a jpeg file extension.

2.How to set a command,When the user click the jpg or jpeg file extension or in short a image then a user hit the open button the image that user select from the browse dialog should be in the Image Box.

3.How to set a command like when a user hit the save button, the image in Image Box should be save or atleast copy to the /Student Picture folder and rename as "MyDefaultPicture".

Thats all i want to know,Please help me.
Any help will appreciated. thanks