Results 1 to 3 of 3

Thread: Getting the current function or sub?

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517

    Post

    How can you get the name of the current sub
    or function ?

  2. #2
    Hyperactive Member Asaf_99's Avatar
    Join Date
    Jul 2000
    Location
    Israel
    Posts
    335
    What do you mean?
    Do you mean like in Run-Time like to see what sub/function is going on?

    If so, I suggest you make a label on the form and call it lblCurrent.
    Then put this line of code in every sub or function:
    Code:
    lblCurrent.Caption = "ThisSub Is Now Going On!"
    Ofcourse replacing 'ThisSub' with anything you want to seperate between the functions or subs.

    Hope I helped.


    P.S. - THIS IS MY 100th POST!!!!!!!!!!
    Asaf Sagi

    ICQ: 61917199
    E-Mail: [email protected]

  3. #3

    Thread Starter
    Frenzied Member
    Join Date
    Sep 1999
    Location
    Phoenix, az
    Posts
    1,517
    Thats not what I wanted to do!
    So i guess there is no function
    that will tell you ... thanks!

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