I can't just copy and paste Debug.Print "MyMethod" anywhere I want. I would have to actually type in the text for "MyMethod". Definately slows down the process when you just want to see real quick what order things are firing in.
>>Hi all;
>>
>>Does anyone know of something in VB that will perform the same function as FoxPro's PROGRAM() function, that returns the name of the currently executing procedure/method. I'm looking for something to stick in some methods to follow the order that things are getting fired. I want to put in something like:
>>
>>debug.print PROGRAM()
>>
>>but I can't find anything in VB to return the name of the currently executing procedure/method.
>>
>>Thanks in advance.
>
>Why not just Debug.Print "MyMethod"? You are going to put it in every method/event right?
Jim Munn, MCSD
Visual Data Solutions