Progressbar with a Dataset


New member
Jun 28, 2004
Programming Experience
I'm currently loading a form that uses a class to pull data into a dataset from a storedprocedure in SQL Server. I have been pulling my hair out for the last few days trying to figure out how to show the progress of this form with the use of a progressbar. This process currently takes about 20-35 secs to load so I need to show the users that the program is working.

In sum: I need a progressbar that appears when frm_load begins and disappears when it is complete.

Thanks for any help,

Progress Bar

If you want to hide the progress bar, then just use the visible property.
I had the same problem, so here is what I did, although my progressbar is always visible.

I created a thread to do the pulling of the data.
On the main thread my progress bar will go to 100, and then start at 0.
So it keeps moving, keeping the user happy.

In my application all of the data gets pulled into the dataset when the application starts up, so I have a splash screen witht the aforementioned progress bar.

Also an idea that I think will happen more and more is using the splash screen as the splash, login and about dialogs.


Latest posts