I load image by this line
Image pageimage = Image.FromFile("Mohr.jpg");
imagebrick = gr.DrawImage(pageimage, new RectangleF(1, 1, 100,200), BorderSide.None, Color.Transparent);
I load image in bin and debug folder and also add it in application folder in setup project.
but somethimes in some computer's see this error!
why this code don't work always in some computer's?
what's the best code?
Hemant SrivastavaPosted May 2, 2013, 1:26 PM
Add a folder into your project
Copy your image into newly added folder
Add the existing image into your project
Then in Add image into your Warning Dialog Box by giving reference to image in your newly added folder
If you would do this, then you don't need to add your images in setup.