Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HOW TO PLACE A ANALOG CLOCK IN MY DESKTOP APPLICATION

Status
Not open for further replies.

farzad321

Programmer
Sep 14, 2019
53
FR
Hi to everyone , I have problem in placing a analog clock in my project. I try to put a flash clock but don't work. Did you have any Ideas ? thank you very much.

This is my analog clock url that work with flash.


Or how can I run this clock Because windows seven don't run flash file. Do you think win 7 have special setting for run this flash file in control panel or anywhere ? This is very Important for me.

Or any other Ideas...
 
You should definitely avoid relying on Flash. Apart from the fact that it is no longer widely supported, many users choose to explicitly disable it.

In theory, you should be able to create an analogue clock entirely using native VFP controls. The numbers would be Label objects and the hands would be Line objects; you would use the Line's Rotation property to set the angle.

But a better option would be to use an existing ActiveX control. I've just done a quick search, and there seems to be several off-the-shelf controls which would do want you want. Here are links to the first two I found:


If you do your own search, yoi will find more.

Note that the above is not a recommendation. I don't have any experience of using these controls.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

Visual FoxPro articles, tips and downloads
 
It would be interesting to see how a clock works in the background on a form...

Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
 
Thank you for your answer.

This is my mistake that just think about flash clock. I know about security problem and end support for adobe flash player, But in above two link can not find ocx file. therefore I have only one way, write a clock code ? If I find a minimum clock program, every thing will be okay. I search for one week in NET but can not find operational program. again thank you for your response.
farzad
 
He's right, at least on the first one, the link is broken

Try this


Regards

Griff
Keep [Smile]ing

There are 10 kinds of people in the world, those who understand binary and those who don't.

I'm trying to cut down on the use of shrieks (exclamation marks), I'm told they are !good for you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top