save image in application folder in c# windows applic
how to save image in application folder in c# windows application
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
rahul choudharyPosted Sep 12, 2014, 6:54 AM
string imagesDirectory = AppDomain.CurrentDomain.BaseDirectory + "\\Image\\";
imagesDirectory = imagesDirectory.Replace("bin\\Debug\\", "");
File.Copy(s, imagesDirectory + FName[FName.Length - 1]);