Async Web Services
Using Async Web Services behind a Form
If a call has been made it is possible that the windows form might have been closed before the result has been returned
At the top of all your _Callback subroutines you need to add the following line:
If (Me.Disposed = True) Then Exit Sub
You must also make sure the form is disposed before it is closed
Private Sub Form_Close()
Me.Dispose()
Me.Close()
End Sub
© 2024 Better Solutions Limited. All Rights Reserved. © 2024 Better Solutions Limited TopPrevNext