Hey,
Ich habe folgenes Problem:
"Eine nicht behandelte Ausnahme des Typs "System.StackOverflowException" ist in System.Windows.Forms.dll aufgetreten."
Tritt in der Zeile Invoke(Sub() doc = WebBrowser1.DocumentText) auf. Dabei ist die ja in einem Try-Catch-Block eingebettet.
Den Thread starte ich so:
Wie kann ich den Try-Catch-Block "gültig" machen?
Danke im Vorraus.
MfG, maxasoft
Ich habe folgenes Problem:
PHP Code:
Private Sub checker()
Dim doc As String = ""
Try
Invoke(Sub() doc = WebBrowser1.DocumentText)
Catch ex As System.StackOverflowException
Msgbox(ex.message)
End Try
End Sub
Tritt in der Zeile Invoke(Sub() doc = WebBrowser1.DocumentText) auf. Dabei ist die ja in einem Try-Catch-Block eingebettet.
Den Thread starte ich so:
PHP Code:
With New Thread(AddressOf checker)
.IsBackground = True
.Start()
End With
Danke im Vorraus.
MfG, maxasoft