An Owner Drawn Clock Control VB5/6

This code shows how to create your own Analogue clock control in Visual Basic 5 / 6 - no other controls other than the standard VB controls are used.

screen-shot

Clock Control

PROJECT NAME
 	Demo.vbg (group)

PURPOSE
	Making a clock or watch that can be set with or read from
	hour- or minute-hands.

ENVIRONMENT
	This is a VB5 project, which will run under Windows 9x.
	No other than basic VB-controls are used.

YOU CAN LEARN
	Something about making your own controls.
	...
COPYRIGHT
	None. I made the code myself and everybody is free
	to use it.

RUNTIME FILES
	none

CODE FILES
	Demo.vbg

	stClockCtl.vbp/.vbw
		stClock.ctl/.ctx
		APImodule.bas

	ClockDemo.vbp/.vbw
		frmDemo.frm
		frmClock.frm/.frx
		frmChrono.frm/.frx

	clock.bmp
	clock.ico

Download Zipped Project Files (11k)



Comments

  • Great Code

    Posted by Legacy on 11/19/2003 12:00am

    Originally posted by: Sudhir

    Thank u very much for the code.As i am new to OCX,It helped me a lot to build my own ocx controls

    Reply
  • Thanks too

    Posted by Legacy on 11/11/2003 12:00am

    Originally posted by: Hajo

    Verny nice - THX !

    Reply
  • Good One

    Posted by Legacy on 05/10/2003 12:00am

    Originally posted by: Prasanna Nair

    Really good one..

    was looking out for something very similar to this..

    thanks anyways - prasanna

    Reply
  • Thanks

    Posted by Legacy on 02/05/2003 12:00am

    Originally posted by: Victor R

    Thanks

    Reply
  • Thanks a lot

    Posted by Legacy on 01/14/2003 12:00am

    Originally posted by: wzs

    Thanks...was just what i needed...cool.

    Reply
  • . ..ditto

    Posted by Legacy on 05/30/2002 12:00am

    Originally posted by: aku

    thank you much for the code=)

    Reply
  • Cool code

    Posted by Legacy on 06/14/2001 12:00am

    Originally posted by: balak yap

    Thanks for the code...

    Reply
Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Live Event Date: April 22, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT Database professionals — whether developers or DBAs — can often save valuable time by learning to get the most from their new or existing productivity tools. Whether you're responsible for managing database projects, performing database health checks and reporting, analyzing code, or measuring software engineering metrics, it's likely you're not taking advantage of some of the lesser-known features of Toad from Dell. Attend this live …

  • Live Event Date: May 6, 2014 @ 1:00 p.m. ET / 10:00 a.m. PT While you likely have very good reasons for remaining on WinXP after end of support -- an estimated 20-30% of worldwide devices still are -- the bottom line is your security risk is now significant. In the absence of security patches, attackers will certainly turn their attention to this new opportunity. Join Lumension Vice President Paul Zimski in this one-hour webcast to discuss risk and, more importantly, 5 pragmatic risk mitigation techniques …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds