Page 1 of 2

Ejecutar una sola vez la aplciación

Posted: Sun Mar 21, 2010 9:04 pm
by JALMAG
Se que está por algún ejemplo...pero ahora no lo veo, la pregunta es ¿como puedo evitrar abrir dos veces mi aplicación?, es decir, evitar que se ejecute de nuevo si ya está abierta.

Gracias amigos, sois muy amables.

Re: Ejecutar una sola vez la aplciación

Posted: Sun Mar 21, 2010 9:18 pm
by Vanguarda
Hi my friend,

Please type this line bellow in you "Function Main"

Code: Select all

Set Multiple Off
Per example:

Code: Select all

Function Main
   Set Multiple Off
   Load Window Main
   Main.Center
   Main.Activate
Return 
I hope that help.

My best regards,

Re: Ejecutar una sola vez la aplciación

Posted: Sun Mar 21, 2010 9:22 pm
by JALMAG
Vanguarda wrote:Hi my friend,

Please type this line bellow in you "Function Main"

Code: Select all

Set Multiple Off
Per example:

Code: Select all

Function Main
   Set Multiple Off
   Load Window Main
   Main.Center
   Main.Activate
Return 
I hope that help.

My best regards,
Thank you Vanguarda

Re: Ejecutar una sola vez la aplciación

Posted: Sun Mar 21, 2010 9:25 pm
by JALMAG
Vanguarda wrote:Hi my friend,

Please type this line bellow in you "Function Main"

Code: Select all

Set Multiple Off
Per example:

Code: Select all

Function Main
   Set Multiple Off
   Load Window Main
   Main.Center
   Main.Activate
Return 
I hope that help.

My best regards,
Thank you Vanguarda. All Ok.
Eres un sol...in spanish.

Re: Ejecutar una sola vez la aplciación

Posted: Mon Mar 22, 2010 1:11 am
by Vanguarda
Hi friend
I´m glad for know that.

My best regards,

Re: Ejecutar una sola vez la aplciación

Posted: Wed Mar 24, 2010 9:23 am
by Czarny_Pijar
Keep smailing! Especially while translating this page with google translator ;)

The original : Set Multiple Off
Translated : Multiple Off in September :lol:

Re: Ejecutar una sola vez la aplciación

Posted: Wed Mar 24, 2010 10:35 am
by JALMAG
Czarny_Pijar wrote:Keep smailing! Especially while translating this page with google translator ;)

The original : Set Multiple Off
Translated : Multiple Off in September :lol:
The English is complicated to translate in a literal way. :lol:

Re: Ejecutar una sola vez la aplciación

Posted: Wed Mar 24, 2010 12:23 pm
by luisvasquezcl
Hola,
increible traducción :lol: ....
hay que tener cuidado con el google translator, no vaya a ser que traduzca alguna palabra en algo ofensivo. :roll:
saludos cordiales,
Luis Vasquez

Re: Ejecutar una sola vez la aplciación

Posted: Thu Mar 01, 2012 10:28 pm
by Hazael
Hello Friends,

Is there any motive why SET MULTIPLE OFF (just after PROCEDURE Main() ) would not work?
I mean, I do not want my program to be loaded more than once but I can load it many times and SET MULTIPLE OFF seems to have no effect (using HMG 3.0.40).

Thanks for any hint.

Qatan

Re: Ejecutar una sola vez la aplciación

Posted: Thu Mar 01, 2012 11:03 pm
by danielmaximiliano
Qatan wrote:Hello Friends,

Is there any motive why SET MULTIPLE OFF (just after PROCEDURE Main() ) would not work?
I mean, I do not want my program to be loaded more than once but I can load it many times and SET MULTIPLE OFF seems to have no effect (using HMG 3.0.40).

Thanks for any hint.

Qatan
Hi Qatan
in HMG.3.0.40 works perfectly
Set Multiple off
Set Multiple off
Greenshot_2012-03-01_20-01-03.png (268.02 KiB) Viewed 4924 times