That has information about getting the Web page name and such. Part of what I need. Still need to get the actual function I am in
This seems to work.
Dim d As String = Mid(ex.StackTrace.ToString, ex.StackTrace.LastIndexOf(vbNewLine) + 3, ex.StackTrace.Length)
Dim c As String = Mid(d, d.IndexOf(".") + 2, d.Length)
Dim LineNum As Integer = Mid(ex.StackTrace.ToString, ex.StackTrace.LastIndexOf(":") + 6, ex.StackTrace.Length) - 1
Dim FunctionName As String = Mid(c, c.IndexOf(".") + 2, c.IndexOf("()") - 7)
Am hoping for a more direct route.
Thanks