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!
Loading
MichaelPosted Oct 18, 2007, 11:37 AM
Thanks!
MichaelPosted Oct 18, 2007, 10:53 AM
Jan MontanoPosted Oct 17, 2007, 9:50 PM
pictureBox1.SizeMode = PictureBoxSizeMode.StretchImage;
pictureBox1.ImageLocation = @"F:\Documents and Settings\All Users\Documents\My Pictures\Sample Pictures\Water lilies.jpg";