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:
00427986
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform