Save image in application folder in c# windows applic
how to save image in application folder in c# windows application
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
rahul choudhary6 reputationPosted Sep 12, 2014, 2:54 AM EDT
string imagesDirectory = AppDomain.CurrentDomain.BaseDirectory + "\\Image\\";
imagesDirectory = imagesDirectory.Replace("bin\\Debug\\", "");
File.Copy(s, imagesDirectory + FName[FName.Length - 1]);