Jump to content
Xtreme .Net Talk

multithreading ??? How to do it ???


Recommended Posts

Guest Alexander Pavlo
Posted

Hi All !!!

 

I have a DataGrid on my Form.

Firstly - the user inputs some data into the DataGrid and clicks "PROCESS" button. The action goes to the class module and the entered data is being managed (in just one difficult loop, but you can't know before how long it's gonna take, that depends on the data entered) so:

 

I also have a TIMER on the same form and I want to exit the processing of data after 1 minute. But the timer doesn't work while the class works with the DataTable... I mean Timer.Tick event doesn't occur untill the class finishes his processing of data.

 

How can I catch the Timer.Tick event and work in the class at the same time ???

 

HUGE thanks to everybody who answers - the others get NOTHING !!!!

Respectfully, L!o ...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...