hi,

does anyone know a function/variable which tell me which sub/function is running at the moment?
for example, if the variable is XXX then the following will print "Form1_Load" to the screen.


Private Sub Form1_Load(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles MyBase.Load

MsgBox(XXX )

End Sub

Thanks