3
Answers

Background worker & Serial Comms

Ask a question
Glenn Patton

Glenn Patton

12y
2.3k
1
Hi All,

I am on the "make it work quicker" portion on a project to upload and download sets of values from a device via a USB comm port.  The hard parts are all done now on to the clean up.  I was wondering if the backgroundWorker component could be used to remove the need I have for an Application.DoEvents(); I have used the VB6 version in the past to mixed results from "it works!" to "its broken <expletive deleted>!!". 

Is there any benefit to operating the interrupt handler (which is on a seperate thread I believe) on the backgroundWorker or all the Serial Comms on the background thread. Using invokes to get the data from the Worker.  

Glenn

Answers (3)
Next Recommended Forum