>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.
I never found something like this! It could be really helpful in error trapping and reporting. I saw some tools in the past that were adding a constant to every procedure containing the name of the current procedure.
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com