Weird problem [C#]

Started by
20 comments, last by jperalta 20 years, 5 months ago
I''m stumped. Last thing I could think of is try this when you load the image, both methods (the Image.FromFile , and the Bitmap Constructor):
gunImage = Image.FromFile(Application.StartupPath + "images/gunImage.gif");

and make sure the image is in the images folder in the app directory.
Advertisement
Been there, done that, got the t-shirt. I also tried using System.IO.Directory.GetCurrentDirectory(), it failed too.

This topic is closed to new replies.

Advertisement