Visual Basic Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old April 22nd, 2003, 08:48 AM
Next_Gate Next_Gate is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 45 Next_Gate User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 36 sec
Reputation Power: 6
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!

Reply With Quote
  #2  
Old April 22nd, 2003, 03:07 PM
defjamninja defjamninja is offline
Overly white
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2003
Location: Fresno, CA
Posts: 83 defjamninja User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
I haven't used either of these but they sound nice .
http://www.pscode.com/vb/scripts/Sh...=31266&lngWId=1 and http://www.pscode.com/vb/scripts/Sh...=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.

Reply With Quote
  #3  
Old April 22nd, 2003, 04:35 PM
Next_Gate Next_Gate is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Apr 2003
Posts: 45 Next_Gate User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 4 m 36 sec
Reputation Power: 6
Thanks man... it works pretty good!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreVisual Basic Programming > Getting the execution time for a module or application


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 1 hosted by Hostway
Stay green...Green IT