Hello, I am working on getting and image to display in a form. I know how to search the harddisk and filter types and select the image I want to show but I just dont know how to display it, or what all goes into displaying an image. Could anyone show me a very basic code that displays and image on a form from a path on the harddrive? I can take it from there.
Thanks alot!
Image Question
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Jan MontanoRank #1,295 · 1.3K reputationPosted Oct 17, 2007, 5:50 PM EDT
pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
pictureBox1.ImageLocation = @"F:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Water lilies.jpg";
Michael20 reputationPosted Oct 18, 2007, 6:53 AM EDT
Michael20 reputationPosted Oct 18, 2007, 7:37 AM EDT
Thanks!