Results 1 to 3 of 3

Thread: [2005] To get the picture load progress bar

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2007
    Posts
    24

    Question [2005] To get the picture load progress bar

    hi all,

    i want to add a progress bar which will show the progress of the image been loading in the picture box.

    please help me ...............

    thanks

  2. #2
    Frenzied Member Asgorath's Avatar
    Join Date
    Sep 2004
    Location
    Saturn
    Posts
    2,036

    Re: [2005] To get the picture load progress bar

    Hi.
    I think the picturebox will load the image so fast there's no point in putting a progress bar.
    "The dark side clouds everything. Impossible to see the future is."

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

    Re: [2005] To get the picture load progress bar

    If loading the image will take long enough that it's worth showing a progress bar, like if it's being downloaded from the Web, then you should be calling the LoadAsync method of the PictureBox. See the MSDN help topic for the PictureBox.LoadProgressChanged event for a code example of what you want.
    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

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