-
I have forgotten!
I remember reading in a vb.net book about how to get the name of the method currently executing. I want to use this for an error handling method... I have searched the reflection namespace but couldn't find anything useful.
When I programmed C++ I always used this when handling errors... but how to do it in vb instead of writng a static name on each catch statement?
kind regards
Henrik
-
Look in Exception class and its derived classes, I think they have some kind of method that will give you the trace of what functions are or were being used
-
Got it thanks.. it was a method in the exception namespace that used reflection... got a little confused there ;) :afrog:
thanks
Henrik