How to know from where the function/Procedure is Called.

Hello Friends,
   In my program a function is called from the code which is generated dynamically. Is there any method by whick I can understand that from which function/event/routine the function is been called.
Regards,
       bhatul
bhatulAsked:
Who is Participating?
 
TimCotteeConnect With a Mentor Commented:
No is the simple answer, you have to pass this as a parameter or set a global variable which stores this information. VB does not have any way of determining the procedure caller at runtime.
0
 
rspahitzCommented:
But at development run-time, you can check the stack to see what procedures were called to get to a specific piece of code:  Ctrl-L while in the debugger.
0
 
bhatulAuthor Commented:
Thanks TimCottee and rspahitz.
0
The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

 
rspahitzCommented:
If that answered your question, click Tim's "accept this comment as answer" button.
0
 
MoondancerCommented:
ATTENTION bhatul -->  Please click the following link and BRING ALL YOUR OPEN QUESTIONS TO A CONCLUSION.
 
Administration will be contacting you in this regard if they remain open for another 7 days.  You have nine (9) questions to resolve.

http://www.experts-exchange.com/jsp/memberProfile.jsp?mbr=bhatul&showQHistory=true

Moondancer - EE Moderator
0
 
twalgraveCommented:
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in Community Support that this question is:
- points to TimCottee
Please leave any comments here within the
next seven days.
0
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0
All Courses

From novice to tech pro — start learning today.