Wrox Programmer Forums
|
Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book: Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual Basic 2005 Basics 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 26th, 2007, 03:03 AM
Registered User
 
Join Date: Mar 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default System Clock Program

Hey Guys


I would like to create a label on a form in VB 2005 that will display the time from the system time.

i am not sure how to do it.
Im new to vb and I am finding it hard.

Thanks

 
Old March 26th, 2007, 04:11 AM
Authorized User
 
Join Date: May 2006
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Something like this

Me.Label1.Text = DateTime.Now.ToShortTimeString






Similar Threads
Thread Thread Starter Forum Replies Last Post
Clock jeremy1048 Access 2 August 22nd, 2008 06:55 AM
Displaying a clock hdfireftr Visual Basic 2005 Basics 2 September 15th, 2006 01:12 PM
TRIGGER USING SYSTEM CLOCK reyboy SQL Server 2000 2 April 20th, 2004 12:43 AM
Countdown clock Ciarano Beginning VB 6 1 March 12th, 2004 07:45 AM
Want to get my realtime clock to chime The Wizard Pro JSP 0 February 11th, 2004 08:46 PM





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