hi,
i am developing windows application in that application i am taking one picturebox, openfiledialogue, loadimage button and saveimage button
for loadimage button i write code like
openfiledialogue1.showdialogue()
picturebox1.load(openfiledialogue1.filename)
this time image is displayed in picturebox this is fine.
but my aim is that picturebox image is saved in one folder. how todo it. not to use of savedialogue control.
please give a sample solution.
Thanks
Loading
Hirendra SisodiyaPosted Nov 26, 2010, 3:56 AM
PictureBox1.Image.Save("Filename", "Imageformat")
thanks
Suthish NairPosted Oct 12, 2010, 3:58 AM
If query solved please accept it as answer...
Suthish NairPosted Oct 9, 2010, 3:55 PM
Koteswararao MallisettiPosted Oct 9, 2010, 8:06 AM
in c# using System.IO;
Then write the following code : that is
File.copy ("source file path ","destination file path")
in your case in the source file path we write the openFileDialog.SelectedPath and next destination path is as your wish.