#1
  1. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Posts
    45
    Rep Power
    12

    Getting the execution time for a module or application


    I need to get the time of execution for a module, function, query etc etc from VIsual Basice, actually using version 6.

    for example before beggining a function i need the starttime and then when the function ends i need the final time so then i can do endtime - startime and get the time of execution..

    i Have tried donig with the functions Second(Time) but it doesnt show it in milliseconds.. so i was wondering if you have a pice of code for helping me put or maybe you can guide !!!..



    thanks in advance!
  2. #2
  3. No Profile Picture
    Overly white
    Devshed Newbie (0 - 499 posts)

    Join Date
    Mar 2003
    Location
    Fresno, CA
    Posts
    83
    Rep Power
    12
    I haven't used either of these but they sound nice .
    http://www.pscode.com/vb/scripts/Sho...31266&lngWId=1 and http://www.pscode.com/vb/scripts/Sho...39300&lngWId=1

    The second link is code that is based off of the first, I'm not sure if there are any major diferences or not.
  4. #3
  5. No Profile Picture
    Contributing User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Apr 2003
    Posts
    45
    Rep Power
    12
    Thanks man... it works pretty good!

IMN logo majestic logo threadwatch logo seochat tools logo