|
-
Nov 22nd, 2012, 02:53 AM
#1
Thread Starter
Lively Member
'System.NotSupportedException' in mscorlib.dll
Hi, i have this error
Code:
'System.NotSupportedException' in mscorlib.dll
The format of the specified path is not supported.
what's the problem?? i
-
Nov 22nd, 2012, 03:22 AM
#2
Re: 'System.NotSupportedException' in mscorlib.dll
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.
-
Nov 23rd, 2012, 06:53 PM
#3
Thread Starter
Lively Member
Re: 'System.NotSupportedException' in mscorlib.dll
this is the code:
with debug i have problem at
Code:
pBox.Image.Save("_" + nomeFile, Jpeg)
i'm try to do a grayscale image converter function
Code:
Try
pBox.Image = bm
pBox.Image.Save("_" & nomeFile, Jpeg)
Catch ex As NotSupportedException
Console.WriteLine(ex.Message)
End Try
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..
looking on google someone says that the problem is with windows 7 , is possible?
-
Nov 23rd, 2012, 07:42 PM
#4
Re: 'System.NotSupportedException' in mscorlib.dll
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.
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|