View previous topic :: View next topic |
Author |
Message |
beloes Newbie
Joined: 28 Nov 2002 Posts: 2
|
Posted: Thu Nov 28, 2002 9:26 pm Post subject: Ayuda en español - Programa con fechas |
|
|
Estoy haciendo un programa para guardar la fecha del ordenador, poner una fecha que yo quiera, ejecutar un programa y cuando salga de ese programa me cambie la fecha del ordenador. Me falta saber como puedo hacer para que al cerrar el programa me cambie la fecha. |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Fri Nov 29, 2002 5:22 am Post subject: |
|
|
Quote: | Estoy haciendo un programa para guardar la fecha del
ordenador, poner una fecha que yo quiera, ejecutar un
programa y cuando salga de ese programa me cambie
la fecha del ordenador. Me falta saber como puedo
hacer para que al cerrar el programa me cambie la
fecha. |
Se parece que usted desea pasar un programa limitado tiempo. No
ayudaremos a poblar hacemos tareas como eso aqu?.
Recuerdos,
-Garrett
PS. Translated with SYSTRAN at AltaVista
http://babelfish.altavista.com/babelfish/
Quote: | I am making a program to keep the date from the
computer, to put a date that I want, to execute a
program and when it leaves that program it changes
the date to me of the computer. It lacks me to know
since I can do so that when closing the program
changes the date to me. |
It seems that you want to get by a time limited program. We will not
help people do tasks like that here.
Best regards,
-Garrett |
|
Back to top |
|
|
beloes Newbie
Joined: 28 Nov 2002 Posts: 2
|
Posted: Sat Nov 30, 2002 6:40 am Post subject: |
|
|
Estoy intentando hacer lo que tu dices, para aprender como se pueden manejar las fechas con VDS. El programa lo tengo registrado. |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sat Nov 30, 2002 7:45 am Post subject: |
|
|
VDS no puede hacer este solo. Usted necesitar mirar el VDSDLL 3 de
Tommy Sools. Hay un comando y las funciones por el tiempo
relacionado trabajan.
Recuerdos,
-Garrett
Excuse por favor el uso de la lengua espanola en mi poste aqu?.
Estoy utilizando uno de esos servicios de traducci?n en l?nea. |
|
Back to top |
|
|
iMPA Newbie
Joined: 26 May 2001 Posts: 9 Location: Spain
|
Posted: Sun Dec 01, 2002 4:28 pm Post subject: |
|
|
hola beloes!!
no te he entendio del todo...
- si lo que quieres es cambiar la hora de windows necesitas una dll... dentro del pack vdsdll3 puedes encontrar una dll llamada vdstime.dll que permite entre otras cosas cambiar la hora del sistema.
Otra opcion seria hacerlo a traves de api's con la gadget.dll... pero ahi si que no te puedo ayudar...
- si quieres hacer un programa que haga operaciones con horas y fechas mirate en la documentacion la funcion @datetime()
no he visto tu email, asi que si quieres contactar conmigo y charlar tranquilamente en castellano mandame un mensaje privado por el foro.
salu2 |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Sun Dec 01, 2002 9:43 pm Post subject: |
|
|
Impa, thanks for jumping in. I don't know Spanish at all except for Hola, so I depend a bit on those translation programs online. I can't be sure if the translations are correct. I could have misunderstood what beloes was trying to do.
-Garrett |
|
Back to top |
|
|
iMPA Newbie
Joined: 26 May 2001 Posts: 9 Location: Spain
|
Posted: Mon Dec 02, 2002 7:32 pm Post subject: |
|
|
glad to help
anyway you answer are correct (as always), he wants to set windows time...
sorry about my poor english _________________ share what you know, learn what you don't |
|
Back to top |
|
|
Garrett Moderator Team
Joined: 04 Oct 2001 Posts: 2149 Location: A House
|
Posted: Mon Dec 02, 2002 8:06 pm Post subject: |
|
|
Yeah, but I was also under the impression that he was trying to beat a time trial program by doing this. But those darn online translators usually give you back broken translations.... I mean, what he said and what I get to read after translation could end up being two totally different things. If that's not what he was doing, please appologize to him for me. If he was trying to do that, then... Oh well. Nothing we say will stop him probably from continuing his efforts on that.
-Garrett |
|
Back to top |
|
|
cnodnarb Professional Member
Joined: 11 Sep 2002 Posts: 763 Location: Eastman, GA
|
Posted: Wed Dec 04, 2002 4:02 pm Post subject: |
|
|
Usted podr?a tener un archivo de hornada del DOS de MSWindows hace esto para usted.
[time.bat]
time 10:45
[code:1:ad505b51fb]
run time.bat |
|
Back to top |
|
|
uvedese Contributor
Joined: 21 Jan 2006 Posts: 169 Location: Spain
|
Posted: Wed Mar 01, 2006 7:03 pm Post subject: |
|
|
Lo que necesitas es el programa DateCrack realizado en VDS 3 que te puedes bajar desde mi pagina:
http://es.geocities.com/uvedese/en_vds.html
Aquí encontrarás el enlace. Este programa te hace eso: abres un enlace a la aplicación que quieres lanzar con la fecha actual (o la que quieras si cambias la hora del sistema); cuando la ejecutas pasados varias días te cambia automaticamente al día en el que registraste la aplicación; cuando cierras esa aplicación el programa te devuelve al día en el que estaba.
No sé si esto te servirá |
|
Back to top |
|
|
|