Click here to Skip to main content
15,891,529 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I have a windows forms application-VB.Net on which I have given one button - which call the procedure to generate report. Generating report will required 2-3 min. But when I minimize the form I am not able to open until report generation procedure is finish.

I know that here I need to use Threading Or Background Worker...! So please help me how do I use these in VB.net Windows Form Application
Posted
Updated 9-Jan-12 23:26pm
v2

Hi,

Read this code project article
 
Share this answer
 
Have a read of these

Backgroundworker thread example[^]

CP: Introduction to threading[^]

Personally I prefer to use Backgroundworker on a form as I am able easily to update the progress of the backgroundworker to the UI.
 
Share this answer
 
Comments
thatraja 10-Jan-12 13:30pm    
Right, 5! BTW you are a Platinum authority now :)
Simon_Whale 10-Jan-12 14:52pm    
Thanks thatraja well now the addiction to cp truly starts
thatraja 10-Jan-12 14:55pm    
Then what about life? :D
Simon_Whale 10-Jan-12 15:21pm    
I have children so I don't know what this life you are talking about :))
thatraja 10-Jan-12 15:27pm    
I'm surprised you(as a lounge member) asked a question like this. OK, spending too much time in CP is called No life. You can find more than couple of guys Ex. DD
:)

My regards to your kid

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