Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Betriebssysteme (https://www.delphipraxis.net/27-betriebssysteme/)
-   -   WinXP Desktop-Uhr darstellen (https://www.delphipraxis.net/45859-winxp-desktop-uhr-darstellen.html)

Alex_ITA01 13. Mai 2005 08:19


WinXP Desktop-Uhr darstellen
 
Hallo erstmal,
wisst ihr zufällig wie man unter Windows XP die Uhr auf dem Desktop darstellt?
(Unter NT gabs mal eine Datei die hieß Clock.exe und wenn man die startet, hat man die Uhr auf dem Desktop).

Könnt ihr mir bitte helfen?

MFG Alex

Blutiger Anfänger 13. Mai 2005 15:48

Re: WinXP Desktop-Uhr darstellen
 
Hallo,

unter XP,

gehst Du auf Start -> ausfuehren und gibst dann control timedate.cpl ein.

Unter Delphi z.B.: ShowApplet('TimeDate.CPL');

Dazu muss aber in den uses, shellApi mit eingebunden werden !

Gruss OPA!

Blutiger Anfänger 13. Mai 2005 16:08

Re: WinXP Desktop-Uhr darstellen
 
Hallo, ich noch einmal,

vergiss es, fuer showapplet muss vorher eine Funktion definiert werden !

Nimm unter Delphi: ShellExecute(0,'open',PChar('control.exe'),PChar(' TimeDate.cpl'),nil,SW_SHOW);

sorry und mea culpa

Gruss OPA!


Alle Zeitangaben in WEZ +1. Es ist jetzt 02:10 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz