Save Image to a file

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi

I use to following cod
imgFotoOK.Image.Save("..\images\GeenFoto.jpg", System.Drawing.Imaging.ImageFormat.Jpeg
It works but when the file exist I get a error
How can I check of the file already exist

Th

Joskex
 
* "=?Utf-8?B?Sm9za2VYUA==?= said:
imgFotoOK.Image.Save("..\images\GeenFoto.jpg", System.Drawing.Imaging.ImageFormat.Jpeg)
It works but when the file exist I get a error.
How can I check of the file already exist.

\\\
If System.IO.File.Exists(...) Then
...
End If
///
 
Back
Top