Let say I have an application with two forms, I'm in the main form and want to create the other form in a separate thread as its a status monitor for a very long process being executed in the main form. So I want change a text property of status monitor text box but the problem is that second form on another thread.
The code I'm using
Dim _thread As Threading.Thread = New Threading.Thread(Sub()
Using frm As New frmProcessMonitor
Application.Run(frm)
End Using
End Sub)
_thread.Start()
so please how to do that in this methodology.