Procedure Name Retrieval

  • 11 years ago

    Hi all,

    Is there any way to access the name of a procedure without hardcoding the name as a string?  Or is it possible to access the name of the procedure that called the current procedure?

    I am trying to write a better error handler for our current project, and one of the things we are trying to add is an easier way to track where any errors are occuring.

    Thanks in advance,

    Dustin

  • 11 years ago

    Hi

    Try looking at this article (you may have to register)

    http://www.ftponline.com/vsm/2002_05/magazine/columns/blackbelt/default_pf.aspx

    or google for VB6 Call Stack

    Regards

    Chris

Post a reply

Enter your message below

Sign in or Join us (it's free).

Contribute

Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“A computer lets you make more mistakes faster than any other invention in human history, with the possible exceptions of handguns and tequila” - Mitch Ratcliffe