set date/time/time zone dialog 
Author Message
 set date/time/time zone dialog

I need to launch a dialog like the one you get by
right-clicking the time on the taskbar and selecting
"adjust date/time"

Having the user click the the taskbar date/time is not
acceptable for this application

It would be ok to simply launch the taskbar version
for them

I believe that the taskbar date/time launches a DLL ( via rundll32.exe )
but I don't know which one



Mon, 10 Jul 2000 03:00:00 GMT  
 set date/time/time zone dialog

Quote:

> I need to launch a dialog like the one you get by
> right-clicking the time on the taskbar and selecting
> "adjust date/time"

> Having the user click the the taskbar date/time is not
> acceptable for this application

> It would be ok to simply launch the taskbar version
> for them

> I believe that the taskbar date/time launches a DLL ( via rundll32.exe )
> but I don't know which one

It's timedate.cpl.  You might want to take a look at KB article Q135068
or search the MSDN library for "Control_RunDLL".

The command line to do what you want is:




trailing "0" is the number of the page to select.  If you change it to
"1" in this example, you will get the timezone page instead of the
time/date page.

--
J.T. Anderson
PLATINUM technology, Los Angeles Laboratory



Tue, 11 Jul 2000 03:00:00 GMT  
 set date/time/time zone dialog

Works great, however, there's an oops on my part
Unless I can figure out how to make this work
like a modal dialog, I can't use it.
I can't have it disappearing behind the main app
I have experimented the time zone functions and have
figured out how to get a list of time zones, and to set
them in the registry ( the SetTimeZoneInformation doesn't
seem to set the registry properly )

There has got to be a better way though.
Does anybody know the proper way to set the time zone information



Fri, 14 Jul 2000 03:00:00 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. How to convert local time with specific time zone to UTC time in Win32 API

2. Implications of date/timestamping Updates from different time zones

3. C time/date to Visual Basic time/date

4. Date Time Picker - Date AND Time

5. How to convert local time to gmt using a local variable time zone per process/thread

6. Real time From Time Zone information

7. Set Date in Date Time Picker

8. Dataset DateTime column value affected by time zone setting

9. Can't read time from Access 2000 date/time field

10. Get Real Time Clock (RTC) time/date

11. Touching a file (set to current time and date)

12. Set Date and Time with VC++5 **URGENT**

 

 
Powered by phpBB® Forum Software