Wrox Programmer Forums
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
Old March 3rd, 2004, 08:23 AM
Authorized User
Join Date: Mar 2004
Posts: 34
Thanks: 0
Thanked 0 Times in 0 Posts
Default Countdown clock

Hi guys

I was wondering where I might find the code to create a form that displays a digital clock which counts down to a particular time set in the code or set by user input via the form


Old March 12th, 2004, 07:45 AM
Authorized User
Join Date: Feb 2004
Posts: 23
Thanks: 0
Thanked 0 Times in 0 Posts

Hi Ciaran

It's actually relatively easy.
Just create a form and timer as you would in any timed application and set your refresh accordingly.
Do a couple of maths checks to find hours, mins secs to set time from Now()
Display the time and count down at seconds intervals, again updating hours mins etc to 0.

Have a go at this first then reply if you're really stuffed!



Don't think, do!

Similar Threads
Thread Thread Starter Forum Replies Last Post
Countdown Timer stalkingbutler Access VBA 2 April 16th, 2007 10:44 AM
Countdown timer ashik112 Classic ASP Basics 1 February 25th, 2007 07:09 PM
Stopwatch to Countdown cervantes008 Access VBA 1 August 18th, 2006 09:05 AM
Countdown kritimehrotra Access VBA 3 July 25th, 2006 02:55 PM
Countdown Timer loveperson Beginning VB 6 1 January 7th, 2005 05:31 PM

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