I have to use the common dialog box to print a picture box, and I have some idea of how to do it, but can't really get it to work.

Could someone help?