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

  • Today's agile organizations pose operations teams with a tremendous challenge: to deploy new releases to production immediately after development and testing is completed. To ensure that applications are deployed successfully, an automatic and transparent process is required. We refer to this process as Zero Touch Deployment™. This white paper reviews two approaches to Zero Touch Deployment--a script-based solution and a release automation platform. The article discusses how each can solve the key …

  • On-demand Event Event Date: December 18, 2014 The Internet of Things (IoT) incorporates physical devices into business processes using predictive analytics. While it relies heavily on existing Internet technologies, it differs by including physical devices, specialized protocols, physical analytics, and a unique partner network. To capture the real business value of IoT, the industry must move beyond customized projects to general patterns and platforms. Check out this webcast and join industry experts as …

Most Popular Programming Stories

More for Developers

RSS Feeds