Windows programming

Moderators: None (Apply to moderate this forum)
Number of threads: 3670
Number of posts: 9122

This Forum Only
Post New Thread
Single Post View       Linear View       Threaded View      f

Report
Control Panel and NT Cmd Posted by samtoucan on 1 Apr 2001 at 5:29 PM
Hi all

From the command line I am trying to open the Date/Time control panel extension at the TimeZone tab.

Any ideas

Cheers

Sam



Report
Re: Control Panel and NT Cmd Posted by ColdShine on 5 Apr 2001 at 10:37 AM
Which version of Windows do you have? I only have a single tab, with a ComboBox for the choice of the Time zone. Should your program do such things on my computer, it might get errors.
________
ColdShine


Report
Re: Control Panel and NT Cmd Posted by Stoic Joker on 5 Apr 2001 at 4:12 PM
: Hi all
:
: From the command line I am trying to open the Date/Time control panel extension at the TimeZone tab.
:
: Any ideas
:
: Cheers
:
: Sam
:
:
:


Greetings
From the command line I'm not sure you can specify the tab, running timedate.cpl (or control.exe timedate.cpl) will bring up the applet. In C++ I've used
WinExec(("control.exe desk.cpl, display,1"),SW_SHOW);
to bring up the display options with the the ScreenSaver tab showing. Replaceing desk.cpl with timedate.cpl in the same code should do it. Assumeing Msoft included the display X tab code in that applet. The Forum I got the code from mentioned It's missing from some of the applets, Different departments / different projects etc.

Hope this is helpfull
Stoic Joker

Report
Re: Control Panel and NT Cmd Posted by pingpong on 6 Apr 2001 at 8:39 AM
u can do this from the CMD

start control.exe timedate.cpl


: : Hi all
: :
: : From the command line I am trying to open the Date/Time control panel extension at the TimeZone tab.
: :
: : Any ideas
: :
: : Cheers
: :
: : Sam
: :
: :
: :
:
:
: Greetings
: From the command line I'm not sure you can specify the tab, running timedate.cpl (or control.exe timedate.cpl) will bring up the applet. In C++ I've used
: WinExec(("control.exe desk.cpl, display,1"),SW_SHOW);
: to bring up the display options with the the ScreenSaver tab showing. Replaceing desk.cpl with timedate.cpl in the same code should do it. Assumeing Msoft included the display X tab code in that applet. The Forum I got the code from mentioned It's missing from some of the applets, Different departments / different projects etc.
:
: Hope this is helpfull
: Stoic Joker
:





 

Recent Jobs

Official Programmer's Heaven Blogs
Web Hosting | Browser and Social Games | Gadgets

Popular resources on Programmersheaven.com
Assembly | Basic | C | C# | C++ | Delphi | Flash | Java | JavaScript | Pascal | Perl | PHP | Python | Ruby | Visual Basic
© Copyright 2011 Programmersheaven.com - All rights reserved.
Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Operated by CommunityHeaven, a BootstrapLabs company.