EDN Admin
Well-known member
Hi<br/>
With the following code, I Show an image in picturebox
<br/>
ConfigForm.pictureBox1.Image = new Bitmap(System.IO.Directory.GetCurrentDirectory() + "\Some.jpg");
<br/>
and in somewhere else in my program, I want save on exactly this file (Some.jpg) with
<br/>
Image.Save(System.IO.Directory.GetCurrentDirectory() + "\Some.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
<br/>
, But the A generic error occurred in GDI+ occurred.
Whats wrong with this code?
<hr class="sig New Ideas, Superior Solutions Www.SalamGroup.Net
View the full article
With the following code, I Show an image in picturebox
<br/>
ConfigForm.pictureBox1.Image = new Bitmap(System.IO.Directory.GetCurrentDirectory() + "\Some.jpg");
<br/>
and in somewhere else in my program, I want save on exactly this file (Some.jpg) with
<br/>
Image.Save(System.IO.Directory.GetCurrentDirectory() + "\Some.jpg", System.Drawing.Imaging.ImageFormat.Jpeg);
<br/>
, But the A generic error occurred in GDI+ occurred.
Whats wrong with this code?
<hr class="sig New Ideas, Superior Solutions Www.SalamGroup.Net
View the full article