473,466 Members | 1,313 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

System clock

jrtox
89 New Member
Hello expert,
We all know that system calculator is found at "C:\WINDOWS\system32\calc.exe"

My problem now is Where we can find Our System Clock, the executable one?

Help
Ervin
Oct 5 '07 #1
5 1724
jrtox
89 New Member
Hello expert,
We all know that system calculator is found at "C:\WINDOWS\system32\calc.exe"

My problem now is Where we can find Our System Clock, the executable one?

Help
Ervin
Anyone have an idea?
...
Oct 5 '07 #2
Ali Rizwan
925 Contributor
Anyone have an idea?
...
Hello Ervin,
I have found something.
This would be timedate applet

Expand|Select|Wrap|Line Numbers
  1. "C:\WINDOWS\system32\rundll32.exe" C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\WINDOWS\system32\timedate.cpl",Date and Time
GOODLUCK
ALI
Oct 6 '07 #3
jrtox
89 New Member
Hello Ervin,
I have found something.
This would be timedate applet

Expand|Select|Wrap|Line Numbers
  1. "C:\WINDOWS\system32\rundll32.exe" C:\WINDOWS\system32\shell32.dll,Control_RunDLL "C:\WINDOWS\system32\timedate.cpl",Date and Time
GOODLUCK
ALI
Hello ALI,
Tnx for the Help.
The Format for Calling Timedate.cpl OR the System Clock are as Follows:

Shell ("RUNDLL32.EXE SHELL32.DLL,Control_RunDLL timedate.cpl")

Regards
Ervin
Oct 7 '07 #4
nev
251 Contributor
i think you may use vb date / time functions.
Oct 8 '07 #5
jrtox
89 New Member
i think you may use vb date / time functions.
Expand|Select|Wrap|Line Numbers
  1.  Shell ("RUNDLL32.EXE SHELL32.DLL,Control_RunDLL timedate.cpl") 
Hello, Not a function, i guess.
Copy my Code above and paste it the form_load event to see what i mean.

Regards
Ervin
Oct 8 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Valiz | last post by:
Hi, I am updating system time with IRIG time source which sends irregular pulses as shown below 11000011111100111111111111111111....(1-IRIG present and 0-IRIG not present) I need to update...
3
by: James Harriman | last post by:
Hi, I need to be able to measure a time interval in milliseconds on a windows machine. I have tried using time.clock() but it appears to measure time in seconds...Is there a way to measure time...
2
by: David Lindgren | last post by:
Hello. I am trying to figure out a way to determine if the user has resetted the system clock between two times of running my application. One idea I have is that I could check the modified date...
10
by: Partho Choudhury | last post by:
Hi all: I need to add a snippet which access the system time (upto atleast milliseconds) using ANSI std. C++. I cannot use MFC and Win32 APIs in my program for now for various reasons. Is there...
8
by: eugene | last post by:
Is there any issue re-setting system time while DB2 database is online and the system clock is ahead. The database is actually a 24x7 operational and a unscheduled shutdown would be a problem....
10
by: MLH | last post by:
I wish to give someone an A97 database they can install on their PC as a runtime application. I want them to click a button on a form (frmDocumentMyPC). I want to document as much useful...
12
by: jUrner | last post by:
Hello all I have the problem of how to calculate the resolution of the system clock. Its now two days of head sratching and still there is nothing more than these few lines on my huge white...
5
by: Moikel | last post by:
Hello, I'm writing a program that requires that I generate random numbers. I'm using the C rand()function. I want to use the system clock as a seed for the function. How do I read the system...
3
by: Carlos Lozano | last post by:
I have requirement to pause the system clock until a certain event (Win XP). Then the clock will be resumed to the real time. I think it can be done using core functions and/or redirecting the...
0
by: David H | last post by:
I am looking for a way to either run a program in the system tray, or (ideally) replace the system clock with my own custom clock app. I know I can use NotifyIcon to put an icon in the tray, but...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.