p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Beginning VB 6 (http://p2p.wrox.com/forumdisplay.php?f=75)
-   -   Time Capturing (http://p2p.wrox.com/showthread.php?t=44509)

dpkbahuguna June 26th, 2006 10:59 PM

Time Capturing
 
Pls can somebody help me to capture the time from VB each second and every minute...
I mean to say...
I have to Run such a programe which can understand that when 9:00 PM/AM comes and then do some particular tasking assigned to it.

any suggestion will be greatly appreciated!

DPK..

BrianWren June 27th, 2006 02:44 PM

There is a way to do this with Windows APIs. You pass the API the address of the function to call, and at the specified time the function runs.

You can also put a stopwatch on a form giving it a 1 second interval (1,000 mS), and chenck the time each time the stopwatch interval passes.

dpkbahuguna June 27th, 2006 11:36 PM

Thanks BrianWren !!!!
   for your suggestion...
   can u tell me how can I close any application in client system..
   I mean I have to close the Internet Explorer of client's system in a particular time.
   how will I do that...

ur any suggestion will be greatly appriciated !!!!!

DPK..


All times are GMT -4. The time now is 07:33 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.