Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB equivalent to FoxPro's PROGRAM()?
Message
Information générale
Forum:
Visual Basic
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00421703
Message ID:
00421725
Vues:
22
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform