Hi, i have this error
what's the problem?? iCode:'System.NotSupportedException' in mscorlib.dll
The format of the specified path is not supported.
Printable View
Hi, i have this error
what's the problem?? iCode:'System.NotSupportedException' in mscorlib.dll
The format of the specified path is not supported.
The problem is that the format of the specified path is not supported. If only there was a way for us to know what code and data actually generated the exception then we might be able to work out the root cause. I know! You could tell us.
this is the code:
with debug i have problem at
i'm try to do a grayscale image converter functionCode:pBox.Image.Save("_" + nomeFile, Jpeg)
i'm trying to add text to image, in pbox i can see text added to image but on save function i have that exception..Code:
Try
pBox.Image = bm
pBox.Image.Save("_" & nomeFile, Jpeg)
Catch ex As NotSupportedException
Console.WriteLine(ex.Message)
End Try
looking on google someone says that the problem is with windows 7 , is possible?
No, is not possible!
PictureBox1.Image.Save("_" & nomeFile, System.Drawing.Imaging.ImageFormat.Jpeg)
... and that's assuming that nomeFile doesn't include any directory information which seems unlikely given the error you're getting. _C:\somepic.jpg is not supported, strangely enough.