Solved

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

Posted on 2002-03-25
7
178 Views
Last Modified: 2010-05-02
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
0
Comment
Question by:bhatul
7 Comments
 
LVL 43

Accepted Solution

by:
TimCottee earned 100 total points
ID: 6894366
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
 
LVL 22

Expert Comment

by:rspahitz
ID: 6894824
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
 

Author Comment

by:bhatul
ID: 6896580
Thanks TimCottee and rspahitz.
0
Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

 
LVL 22

Expert Comment

by:rspahitz
ID: 6897041
If that answered your question, click Tim's "accept this comment as answer" button.
0
 
LVL 1

Expert Comment

by:Moondancer
ID: 7065796
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
 
LVL 16

Expert Comment

by:twalgrave
ID: 7754691
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
 

Expert Comment

by:SpideyMod
ID: 7811499
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

What Should I Do With This Threat Intelligence?

Are you wondering if you actually need threat intelligence? The answer is yes. We explain the basics for creating useful threat intelligence.

Join & Write a Comment

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

746 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now