G
Guest
Hi, I am writing software to automate some testing. I have one main form to
set up the tests, and once this is complete, I open 4 identical forms to
monitor each different device that I am automating. Because there are many
fast timers on each, I have placed each one of these forms in their own
thread by using the following code:
Dim NewForm As New frmFormName
Dim NewThread As System.Threading.Thread
NewThread = New System.Threading.Thread(AddressOf NewRadio.Show)
NewThread.Start()
NewThread = Nothing
NewRadio = Nothing
Anyway, everything works fine, but when I try and minimize or maximize a
window in a different program, my CPU Usage goes to 100% and stays there
until I stop my automation application. Does anyone know how I can fix this?
Thanks,
Luc
set up the tests, and once this is complete, I open 4 identical forms to
monitor each different device that I am automating. Because there are many
fast timers on each, I have placed each one of these forms in their own
thread by using the following code:
Dim NewForm As New frmFormName
Dim NewThread As System.Threading.Thread
NewThread = New System.Threading.Thread(AddressOf NewRadio.Show)
NewThread.Start()
NewThread = Nothing
NewRadio = Nothing
Anyway, everything works fine, but when I try and minimize or maximize a
window in a different program, my CPU Usage goes to 100% and stays there
until I stop my automation application. Does anyone know how I can fix this?
Thanks,
Luc