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.

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)