sanjay kumar

sanjay kumar

  • NA
  • 3
  • 660

HOW TO SAVE IMAGE IN FOLDER AFTER CREATE SETUP IN C# WIN APP

Jun 28 2017 9:37 AM
i want to save image in folder in my c# window app, all is working fine in the visual studio
but after create setup when i save the data an error occured named 'a generic error occured in gdi+'
 
my code is to save the image  :
 
pictureBox1.Image.Save(Application.StartupPath + "\\Cust_Images\\" + lblCustId.Text + ".jpg", System.Drawing.Imaging.ImageFormat.Png); 
 
please help 
 
 

Answers (2)