fernandovitale
asked on
Timer BackgroundWorker
I need to know how can i do a timer (minutes:seconds) with BackgroundWorker in VB.NET
Thanks
Thanks
Do you want a Timer to trigger a BackgroundWorker? Please elaborate.
Count up or Count down?
WinForms or WebForms?
A regular timer would probably work just as well...
WinForms or WebForms?
A regular timer would probably work just as well...
Add a backgroundworker and a timer to the form.
Set the timer's interval (you can also set this in code)
In the Tick event of the timer, fire off the backgroundworker
Set the timer's interval (you can also set this in code)
In the Tick event of the timer, fire off the backgroundworker
PS> You will need to start the timer (repeatedly?) somewhere.
1. You could restart the timer when the backgroundworker completes
2. You can have the timer start based on another event (say a change in a label's text). In this case, check to see if the timer is enabled before enabling it again.
1. You could restart the timer when the backgroundworker completes
2. You can have the timer start based on another event (say a change in a label's text). In this case, check to see if the timer is enabled before enabling it again.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thank Savant! yes.. that is what i want to do... works fine...
Sorry for my bad english.!
Sorry for my bad english.!