Hi,
How can i get module name in ex.message
catchex.PNG — Yandex.Disk[
^]
What I have tried:
Catch ex As Exception
Dim trace = New System.Diagnostics.StackTrace(ex, True)
MsgBox(ex.ToString)
MsgBox(ex.Message & vbCrLf & "Hata Oluştu - Hata Satırı:" & trace.GetFrame(0).GetFileLineNumber().ToString)