I have an application that has a thread which listens to a port for incoming
messages. The thread is declared and started in my main form, that is
opened from my sub main. In this thread, when a message has an ID in it, i
want a new form to show. I currently do this within the thread:
gContactForm = New frmContact(ID)
gContactForm.MdiParent = gMainForm.ActiveForm
gContactForm.Show()
But on the gContactForm.Show(), the form appears to 'hang' as a white
window.
Why is this happening, and more importantly, how can i fix it?