ADO DOT NET
Centurion
- Joined
- Dec 20, 2006
- Messages
- 160
Visual Basic:
Private Sub SendButton_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles SendButton.Click
'Thread
Dim Threads As New Thread(New ParameterizedThreadStart(AddressOf myThread))
Threads.Start()
End Sub
Private Sub myThread(ByVal o As Object)
Dim F As New Form1
F.ShowDialog()
End Sub
In my code, when I try to show a form in a safe thread as modal, I cannot, the form won't be modal, what can I do?
I need your help.
Thank you