denny simon

denny simon

  • NA
  • 57
  • 0

Where is this girl hiding

Jan 8 2010 8:48 PM
hello

I create simple windows application
I use c#2008 xpress edition
after i publish this application ,i run it
there an error saying that it couldn't find girl.jpg
I have place the girls.jpg in debug folder.

//--------------------------------------------------------

   private void Form1_Load(object sender, EventArgs e)
        {
             Image image = Image.FromFile("girl.jpg");
         
        
            pictureBox1.Image = image;
        }
    }

thx

Answers (4)