i have the code below:
after the thread aborts, the 'please wait' form is still there. it will go away if the mouse runs over it. How do you make it die with the thread?VB Code:
Private Sub ShowWaitNotice() Dim WaitNotice As New WaitNotice WaitNotice.ShowDialog() End Sub Private Sub WizardFilterBuilder1_Search_Click() _ Handles WizardFilterBuilder1.Search_Click Dim waitThread As New Threading.Thread(AddressOf ShowWaitNotice) waitThread.Start() 'stuff to do here waitThread.Abort() End Sub


Reply With Quote