That functionality is already built into the PictureBox control. Instead of calling Image.FromFile to create an Image object first and then assigning that to the Image property of the PictureBox, just assign the file path to the ImageLocation property of the PictureBox. If an error occurs trying to load the Image then the control's ErrorImage will be displayed instead. By default that is the same as the missing image icon in IE but you can set it to something else in the designer if you want.