Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB equivalent to FoxPro's PROGRAM()?
Message
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00421703
Message ID:
00427986
Views:
15
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform