FoxPro/Visual FoxPro - que no cargue 2 veces

 
Vista:

que no cargue 2 veces

Publicado por juan olmos (134 intervenciones) el 30/10/2003 18:47:03
Hola amigos, como puedo hacer para que no cargue por segunda vez un EXE, intente con version(2) pero no me permite cargar la primera vez el programa, agradesco la ayuda
Valora esta pregunta
Me gusta: Está pregunta es útil y esta claraNo me gusta: Está pregunta no esta clara o no es útil
0
Responder

RE:que no cargue 2 veces

Publicado por carlos lott (298 intervenciones) el 30/10/2003 19:01:13
No te entiendo, con respecto al Exe

Saludos

Carlos Lott
Maracay-Venezuela
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:que no cargue 2 veces

Publicado por Plinio (7841 intervenciones) el 30/10/2003 19:17:04
- http://winnersoft.coolfreepages.com/vfp/desktop1.htm
- http://www.tek-tips.com/gfaqs.cfm/pid/184/fid/1767

Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:que no cargue 2 veces

Publicado por kracker (22 intervenciones) el 30/10/2003 19:42:53
Your Main.PRG. shall start with the following line...

=myInstance("A name for your Application")

Then just copy the following code and add it at the end of your main.prg.
******************************************
PROCEDURE myInstance
PARAMETERS myApp
=ddesetoption("SAFETY",.F.)
ichannel = DDEINITIATE(myapp,"ZOOM")
IF ichannel =>0
=DDETERMINATE(ichannel)
QUIT
ENDIF
=DDESETSERVICE(myapp,"define")
=DDESETSERVICE(myapp,"execute")
=DDESETTOPIC(myapp,"","ddezoom")
RETURN
******************************************
PROCEDURE ddezoom
PARAMETER ichannel,saction,sitem,sdata,sformat,istatus
ZOOM WINDOW SCREEN NORM
RETURN
**********************************************************
** EOF
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar

RE:que no cargue 2 veces

Publicado por kracker (22 intervenciones) el 30/10/2003 19:46:45
Your Main.PRG. shall start with the following line...

=myInstance("A name for your Application")

Then just copy the following code and add it at the end of your main.prg.
******************************************
PROCEDURE myInstance
PARAMETERS myApp
=ddesetoption("SAFETY",.F.)
ichannel = DDEINITIATE(myapp,"ZOOM")
IF ichannel =>0
=DDETERMINATE(ichannel)
QUIT
ENDIF
=DDESETSERVICE(myapp,"define")
=DDESETSERVICE(myapp,"execute")
=DDESETTOPIC(myapp,"","ddezoom")
RETURN
******************************************
PROCEDURE ddezoom
PARAMETER ichannel,saction,sitem,sdata,sformat,istatus
ZOOM WINDOW SCREEN NORM
RETURN
Valora esta respuesta
Me gusta: Está respuesta es útil y esta claraNo me gusta: Está respuesta no esta clara o no es útil
0
Comentar