Results 1 to 5 of 5

Thread: [RESOLVED] How To Handel Picture Box Errors

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    99

    Resolved [RESOLVED] How To Handel Picture Box Errors

    Hi
    Iam using a picturebox to load pictures from internet but if internet connection is slow the it give some error 403 forbidden how to handel this error and reload the picture
    and if 404 not fount error appear then how to handle that error

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

    Re: How To Handel Picture Box Errors

    You should load the image asynchronously if you aren't already. You can then handle the LoadCompleted event and it will provide you with information about the result.
    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
    Lively Member
    Join Date
    Dec 2009
    Posts
    99

    Re: How To Handel Picture Box Errors

    iam using this method

    PB1.Load (URL)

    What Is The Other Method Any Example Please

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

    Re: How To Handel Picture Box Errors

    You can always look for yourself first.

    http://msdn.microsoft.com/en-us/libr...=VS.90%29.aspx
    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

  5. #5

    Thread Starter
    Lively Member
    Join Date
    Dec 2009
    Posts
    99

    Re: How To Handel Picture Box Errors

    thanks ......... You

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