[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

Call Stack in VB Script

Posted on 2006-06-28
5
Medium Priority
?
351 Views
Last Modified: 2010-04-07
I have an application that utilizes VB Script.  I have a sub that catches any errors and sends a screen print to myself for troubleshooting.  However, it doesn't neccessary tell me what sub or function is having the issue.  I would like to be able to display the call stack on the email that I am sending.  Anyone familiar with how I can display the call stack in VB Script?
0
Comment
Question by:huskeraz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
5 Comments
 
LVL 35

Accepted Solution

by:
[ fanpages ] earned 2000 total points
ID: 17005661
As there is no in-built method of retrieving the call stack, perhaps these PAQs (some of which I have contributed to) will be useful to you?...

"Detect VBA Subroutine or Function Caller"
[ http://www.experts-exchange.com/Applications/MS_Office/Excel/Q_21230726.html ]

"Identify Sub/Function where error occured"
[ http://www.experts-exchange.com/Applications/MS_Office/Excel/Q_20924414.html ]

"find the current running procedure"
[ http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_20878172.html ]

"VB6: Exiting the call stack"
[ http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21451592.html ]


Also see:

"Sub, Function, or Method get it's own name???"
[ http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21708598.html ]

and

"VB6 Way of reading the stack"
[ http://www.experts-exchange.com/Programming/Programming_Languages/Visual_Basic/Q_21689277.html ]



BFN,

fp.
0
 
LVL 35

Expert Comment

by:[ fanpages ]
ID: 17294918
Hi Dan,

Although, obviously, somewhat one-sided, I would like to think that from the links I provided there were sufficient methods & discussions to address this question, and hence my comment should be considered as the accepted answer.

Thanks for your time in resolving these seemingly abandoned questions.

BFN,

fp.
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses

656 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