Hi,
I will try to explain what I need.
Let's say that I have a class like this:
Public Class Example1
Public Sub ToBeCalled()
System.Console.WriteLine(
"The Method or Class or file and its line which called me is: ",
?????)
End Sub
End Class
Then I have a second class like this:
Public Class Second
Public Sub SomeProcedure()
Dim obj As Example1 = New Example1
obj.ToBeCalled()
End Sub
End Class
Module1
Dim obj2 As Second = New Second()
obj2.SomeProcedure()
End Module1
And what I would like to get on the screen instead of "????" is:
1) The Method or Class or file and its line which called me is: Second
2) The Method or Class or file and its line which called me is: SomeProcerure
3) ...... is: Second.vb
4) ...... is: line 54
5)....... is: col 33
Can anybody help me please?