Set Date and Time to Operacional System
Posted: Thu Jan 12, 2012 2:19 am
I've been in two situations that I had no other choice but CLOC DATE and TIME in the autoexec.bat and Menu_iniciar to update the internal clock of my PC. Despite having changed the battery, it did not work, did not keep the clock in the BIOS. Recently a colleague in other forum asked a little help on how to update and record such information. So remember a few routines that I had done in Clipper and decided to implement some more features. The utility can set the date and time:
1. Manually by typing or by clicking the date and time fields
2. Obtaining such information from a network terminal, and can select one among the many who are connected
3. Get the official date and time (Brasilia time zone) through website
In such situations, the program checks if the selected date and time are not older than the last record, asking if confirming such inconsistencies. It also has an option that allows the application to place the program in msconfig (in Windows registry, start section) so that every time you turn on the computer go through the application.
I managed to write this utility for the purpose of offering to all, serving as learning. I rely on examples from the Roberto Lopez, MiniGUI Grigory and Marcelo Torres. I found some troubles to compile modules with Network and Internet, maybe some inconsistency in the declaration of environment configuration. But I have already correct in this new version, I have used NET VIEW system_command also to compatibilize with Win98.
Well I hope I have contributed to expand knowledge and encourage colleagues to the development and contribution altruistically.
P.S. - Sorry this utility is still in portuguese (I think many will know what is about) but if someone belive necessary, I can translate in English.
- File removed, because it is a new version in last message of this post
1. Manually by typing or by clicking the date and time fields
2. Obtaining such information from a network terminal, and can select one among the many who are connected
3. Get the official date and time (Brasilia time zone) through website
In such situations, the program checks if the selected date and time are not older than the last record, asking if confirming such inconsistencies. It also has an option that allows the application to place the program in msconfig (in Windows registry, start section) so that every time you turn on the computer go through the application.
I managed to write this utility for the purpose of offering to all, serving as learning. I rely on examples from the Roberto Lopez, MiniGUI Grigory and Marcelo Torres. I found some troubles to compile modules with Network and Internet, maybe some inconsistency in the declaration of environment configuration. But I have already correct in this new version, I have used NET VIEW system_command also to compatibilize with Win98.
Well I hope I have contributed to expand knowledge and encourage colleagues to the development and contribution altruistically.
P.S. - Sorry this utility is still in portuguese (I think many will know what is about) but if someone belive necessary, I can translate in English.
- File removed, because it is a new version in last message of this post