Code:
Private Sub BackgroundWorker1_DoWork(ByVal sender As System.Object, ByVal e As System.ComponentModel.DoWorkEventArgs) Handles BackgroundWorker1.DoWork
while 1
if form2.checkbox.checkstate= 1 then
MsgBox(Form2.Checkbox.Checkstate)
End If
End While
End Sub
and with form2.checkbox.checked it returns false even if it should be true