Hi,
Is there any way to get the current Sub name from within it? I'd like to develop a generic error handling routine which includes this information in the logs. When I did something similar in VB and VB.Net I had to manually set a string in each routine, which is a pain, and I'm wondering if there's a better solution.
Andrew .. This has been asked before and the answer was no.
If I recall right the solution was to set the subs name to a process global variable .. wich is pretty much what you were doing previously in Vb
Thanks. It will be interesting to see if Erel can think of anything better, otherwise I've got an intensive hour or two sprinkling my code with strings!
Andrew