Results 1 to 2 of 2

Thread: Capturing Function/Sub name

  1. #1

    Thread Starter
    Member
    Join Date
    Nov 1999
    Location
    Dover, NH
    Posts
    54

    Post

    I know that in Java you there is a method that captures the name of the method you are currently executing. This is great for logging the name of the method for errors. Is there anything like this in VB? I have been searching in vain for a while. Currently, I have had to create a string variable and reset it's value to the name of the Function or Sub each time I enter it. There must be a better way.

  2. #2
    Former Admin/Moderator MartinLiss's Avatar
    Join Date
    Sep 1999
    Location
    San Jose, CA
    Posts
    33,175

    Post

    Unfortunately there isn't a better way.

    ------------------
    Marty

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width