I have about 30 PictureBox controls on my form and I was wondering how would I be able to calculate the load time for a certain amount of those PictureBox controls. For example, I have 15 on one tab and 15 on the other. How would I create a ProgressBar that monitors the loading speed of all of the PictureBox controls so when it gets done loading the PictureBox controls on Tab1 it then starts to load the PictureBox controls on Tab2 and so on? I want to make a ProgressBar where it loads with the entirety of the controls but changes the text of a Label after each page loads. Thanks.

This is the code I am using to load an image:

PictureBox1.Load("URL of Image")

Hi !
i think if u use pre defined path for images , then all the images will load at the load event of the form , so there is no use of a progress bar ,


M.Waqas Aslam

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.