Click here to Skip to main content
15,905,508 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi everyone,

I have an application that perform a query on a sql database. The query takes quiet a while almost a minute. I need an some kind of indication that shows its loading, marquee progress bar or even a label that says " loading..".

I think i need to use another thread, but I've never used one before and im not sure how.

Can anyone help please?
Posted

1 solution

Take a look at this article[^] about Tasks. It allows you to perform tasks in the background without having your GUI locked.

It's a great solution for the problem you have right here.
Good luck!
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900