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

  • Java developers know that testing code changes can be a huge pain, and waiting for an application to redeploy after a code fix can take an eternity. Wouldn't it be great if you could see your code changes immediately, fine-tune, debug, explore and deploy code without waiting for ages? In this white paper, find out how that's possible with a Java plugin that drastically changes the way you develop, test and run Java applications. Discover the advantages of this plugin, and the changes you can expect to see …

  • Live Event Date: August 19, 2014 @ 11:00 a.m. ET / 8:00 a.m. PT You deployed your app with the Bluemix PaaS and it's gaining some serious traction, so it's time to make some tweaks. Did you design your application in a way that it can scale in the cloud? Were you even thinking about the cloud when you built the app? If not, chances are your app is going to break. Check out this upcoming eSeminar to learn various techniques for designing applications that will scale successfully in Bluemix, for the …

Most Popular Programming Stories

More for Developers

RSS Feeds