dcsimg
Results 1 to 4 of 4

Thread: 'System.NotSupportedException' in mscorlib.dll

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2007
    Posts
    104

    '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
    Report your software freeware, it's free

    http://intotheapp.blogspot.com

    a blog with only free software

  2. #2
    .NUT jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    102,599

    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.

  3. #3

    Thread Starter
    Lively Member
    Join Date
    Oct 2007
    Posts
    104

    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?
    Report your software freeware, it's free

    http://intotheapp.blogspot.com

    a blog with only free software

  4. #4
    PowerPoster dunfiddlin's Avatar
    Join Date
    Jun 2012
    Posts
    8,242

    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
  •  



Featured


Click Here to Expand Forum to Full Width