Click here to Skip to main content
15,884,085 members
Articles / Programming Languages / VBScript

Analog Clock - A Desktop Utility

Rate me:
Please Sign up or sign in to vote.
2.43/5 (17 votes)
16 Jan 2007CPOL1 min read 48.3K   1.8K   23  
A simple clock that sits on your desktop
Sample Image - maximum width is 600 pixels

Introduction

This is a simple clock that sits on your desktop. The basic idea behind this program is very simple. In our 3D world, a logical place for a clock is hanging on the wall, or sitting somewhere on top of the desk. Desktop Clock aims to provide you the right time by placing a clock on your machine's desktop wallpaper. Of course, that means you will have to sacrifice some desktop space, and maybe rearrange a couple of icons.

Background

I have created this application during the study of transparent forms. We are in the Visual Age or leaving the DOS command prompt far away. So, I wanted an analog clock that has an attractive shape. After a long time, I found out some hints on irregular forms which helped me to create this round shape form. Now I have this clock and it has become one of the attractive parts of my desktop.

Technical Details

The figure below shows the basic logic behind the code:

Image 2

I will not include the full source in this page - it is available for download from the link at the top of this article.

History

  • v1.1 (16/February/2006)
    • First release

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
India India
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
-- There are no messages in this forum --