GetTickCount

B

Bob Barrows [MVP]

Don said:
Can I call GetTickCount straight from ASP? If so how do I do it?
Thanks.
No, not directly. You would have to use a component, such as a VB
ActiveX dll. Of course, that would obscure the timing you were
attempting to accomplish ...

There's a utility available from the old wsh Utilities site, which is
notw, sadly, only available via the Wayback machine:
http://web.archive.org/web/20040205185751/http://home.att.net/~wshvbs/wshAPIToolkitObjectPage.htm

I don't know if this utility is usable from ASP vbscript.
 
A

Anthony Jones

Don Miller said:
Can I call GetTickCount straight from ASP? If so how do I do it? Thanks.

Don

Go here:-

http://ccrp.mvps.org/download/ccrpdownloads.htm

Download the High Performance Timer Objects (VB6) version. Be sure you
have the VB6 runtime installed which I'd be willing to bet you all ready do.

The stopwatch object is what you need. It's designed for use in VB6 but the
interfaces are compatible with scripting. It will give you much better
timings GetTickCount typically has 10ms resolution.

Of course that presupposes that your trying to do some timing with it.

Anthony.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,812
Members
47,357
Latest member
sitele8746

Latest Threads

Top