Results 1 to 3 of 3

Thread: NotSupportedException for PictureBox image

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2007
    Posts
    26

    NotSupportedException for PictureBox image

    I have an error in my pocket application.If i debug the application on Pocket emulator it works fine .But if i run on a Pocket pc i get this error:
    NotSuportedException
    System.Drawing.Bitmap
    Any ideas?

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: NotSupportedException for PictureBox image

    What code is being executed when the exception is thrown? Was the device running the same OS version as the emulator you tested it on?
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2007
    Posts
    26

    Re: NotSupportedException for PictureBox image

    this is the code
    Code:
    this.pctS.Image = ((System.Drawing.Image)(resources.GetObject("pctS.Image")));
    I think i figured it out.When i debug ,if i deploy System.Drawing.dll on the Pockett it doesn't work.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width