Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET).
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old June 26th, 2006, 10:59 PM
Friend of Wrox
 
Join Date: Jan 2006
Location: Hardwar, Uttranchal, India.
Posts: 180
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via ICQ to dpkbahuguna Send a message via MSN to dpkbahuguna Send a message via Yahoo to dpkbahuguna
Default 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..
__________________
DPK..
  #2 (permalink)  
Old June 27th, 2006, 02:44 PM
Friend of Wrox
 
Join Date: Nov 2004
Location: Port Orchard, WA, USA.
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
Default

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.
  #3 (permalink)  
Old June 27th, 2006, 11:36 PM
Friend of Wrox
 
Join Date: Jan 2006
Location: Hardwar, Uttranchal, India.
Posts: 180
Thanks: 1
Thanked 1 Time in 1 Post
Send a message via ICQ to dpkbahuguna Send a message via MSN to dpkbahuguna Send a message via Yahoo to dpkbahuguna
Default

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..


Similar Threads
Thread Thread Starter Forum Replies Last Post
Signal Capturing by C# Somesh C# 0 December 22nd, 2006 06:06 AM
Capturing images sammy7 J2EE 0 December 22nd, 2006 03:11 AM
Capturing the onkeydown event richard.york Javascript How-To 5 December 27th, 2005 04:27 PM
capturing activity ozPATT Access VBA 2 December 21st, 2005 09:20 AM
Capturing the Control + C event Sammy8932 Access VBA 8 June 8th, 2005 09:05 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.