Hi,
I have an Windows Form based application. My requirement is to select some Text files from the machine where this application is installed and SaveAs all the files into my Application directory for future references (not required to choose location by user). It is just like in ASP.NET to upload your photo/sign to web server.
Is it a way in Windows Form Based application?
Loading
Amitesh VermaPosted Aug 5, 2015, 7:19 AM
{
try {
Bitmap b = new Bitmap("name of the file");
b.Save("path of the folder to save");
Bitmap b = new Bitmap(@"C:\Documents and Settings\Desktop\7506.jpg");
b.Save(@"C:\Extract\test.jpg");
}
catch( Exception ex )
{
MessageBox .Show (ex.Message );
}
}
Ajay SainiPosted Aug 5, 2015, 6:53 AM
Amitesh VermaPosted Aug 5, 2015, 4:56 AM
Ajay SainiPosted Aug 5, 2015, 4:28 AM
Amitesh VermaPosted Aug 5, 2015, 3:03 AM
Ajay SainiPosted Aug 5, 2015, 2:07 AM
Amitesh VermaPosted Aug 5, 2015, 1:15 AM