Page 1 of 4

Set Date and Time to Operacional System

Posted: Thu Jan 12, 2012 2:19 am
by Pablo César
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

Re: Set Date and Time to Operacional System

Posted: Thu Jan 12, 2012 5:13 am
by bpd2000
Excellant
English version pl.

Re: Set Date and Time to Operacional System

Posted: Fri Jan 13, 2012 2:26 am
by fchirico
Thanks Pablo!

Excelent!

Re: Set Date and Time to Operacional System

Posted: Fri Jan 13, 2012 12:12 pm
by Rossine
Pablo,

Excelent sample :D

Thanks for sharing,

Rossine.

Re: Set Date and Time to Operacional System

Posted: Fri Jan 13, 2012 12:55 pm
by esgici
Hola Pablo
Pablo César wrote: I can translate in Enlgish.
We are waiting :?

Saludos

--

Esgici

Re: Set Date and Time to Operacional System

Posted: Sat Jan 14, 2012 8:46 am
by Pablo César
Thank you of all you ! Your enthusiastic words, give a extra forces...

The program it´s quite ready, but are still some little errors. On monday I will post a new version but now I am going to "Ilha do Mel" to pass the week end.

Image

Good week end for all of you !!!

Re: Set Date and Time to Operacional System

Posted: Sat Jan 14, 2012 9:26 am
by Rathinagiri
Bon voyage friend!

Re: Set Date and Time to Operacional System

Posted: Sat Jan 14, 2012 12:26 pm
by mol
I've started snowboard season yesterday...

Have a nice week end, friends!

Re: Set Date and Time to Operacional System

Posted: Mon Jan 16, 2012 12:47 pm
by Pablo César
Thank you all. It was wonderfull, pure ECO life here there are many nature conservation, nice for couple of days. Now returning to developement demands.

Set Date and Time to Operacional System

Posted: Mon Jan 16, 2012 8:00 pm
by Pablo César
Ready now version 3 also is avaliable in English but would it be very easy to add others languages. See files .Lng and I hope all enjoy it !

Now this utility has option to change the language (Portuguese / English). It was embellished and has some extra functions it serves for learning. See the main screen looks like this:

Image