I think this is the applicable code, all within the main form code:
Private Sub searchButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles searchButton.Click
ThreadPool.QueueUserWorkItem(New System.Threading.WaitCallback(AddressOf searchSite), test)
End Sub...
Referencing main form from within ThreadPool
Hi All,
I am still kinda new to VB.Net, so go easy...
I have established a thread pool that is started from a click event handler. I can get everything in the thread pool to work except when I try to add a picture box to the main form.
The...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.