Delegate Sub taskTrayCallback()
If Me.DelegationsTreeView.InvokeRequired Then MessageBox.Show("INVOKE") Dim d As New taskTrayCallback(AddressOf taskTraySetup) Me.Invoke(d, New Object()) Else MessageBox.Show("no invoke!!!") End If
So this is my code that runs on a seperate thread. What happens is the code runs, shows me a message box that says "INVOKE", then thats it. It doesnt run the sub again, doesnt do what its suppose to. I'm wondering if anyone sees whats wrong with this code?