Page 3 of 3

Re: Deshabilitar la "X" de cerrar el programa.

Posted: Mon Aug 11, 2014 4:08 pm
by Javier Tovar
danielmaximiliano wrote:esta hecho en Visual Basic.
:cry: :roll: :? ,

Saludos

Re: Deshabilitar la "X" de cerrar el programa.

Posted: Tue Aug 12, 2014 6:38 am
by abinfra
Gracias Daniel, de momento nos puede servir.

Saludos cordiales.
Antonio Belando

danielmaximiliano wrote:Hola a Todos :

Todavia estoy luchando para saber la instancia donde corre la aplicacion D.O.S creada.
por ahora les sugiero utilizar la aplicacion ConsoloNoClose para evitar que una alicacion se cierre utilizando "X" desde su ventana
la misma se puede bajar desde aqui http://www.uwe-sieber.de/files/consolenoclose.zip

funciona muy bien y no consume recursos, esta hecho en Visual Basic.

Re: Deshabilitar la "X" de cerrar el programa.

Posted: Thu Aug 21, 2014 9:07 am
by bpd2000
Working example, refer

viewtopic.php?f=6&t=3880

Re: Deshabilitar la "X" de cerrar el programa.

Posted: Thu Aug 21, 2014 2:29 pm
by abinfra
Hola bpd2000.
He ejecutado su ejemplo (Disable [Dim] / Enable Close Button "X") con HMG-IDE y me funciona correctamente.

¿Se puede adaptar el código de su ejemplo a un programa en modo consola y que compilo sin el HMG-IDE?

En caso afirmativo, me podría indicar que código debo incluir en la función MAIN de mi código, para que aparezca la ventana de consola con la X desactivada.

Saludos cordiales.

---------------------------------------------------------------------------------------------------------------------------------------------
Hello bpd2000.
I have run your example (Disable [Dim] / Enable Close Button "X"), and HMG-IDE and it works correctly.

Can you adapt the code to suit a program in console mode and compile without the HMG-IDE?

If so, I might indicate that I include code in the MAIN function of my code to display the console window with X disabled.

Best regards.


bpd2000 wrote:Working example, refer

viewtopic.php?f=6&t=3880

Re: Deshabilitar la "X" de cerrar el programa.

Posted: Fri Aug 22, 2014 9:51 am
by bpd2000
abinfra wrote: Hello bpd2000.
I have run your example (Disable [Dim] / Enable Close Button "X"), and HMG-IDE and it works correctly.

Can you adapt the code to suit a program in console mode and compile without the HMG-IDE?

If so, I might indicate that I include code in the MAIN function of my code to display the console window with X disabled.

Best regards.
Sam code can not be adopted in Console version
I found solution, due to busy schedule I can not code for console for 1/2 week or
Send me your mini sample console application, I will do necessary correction

Re: Deshabilitar la "X" de cerrar el programa.

Posted: Fri Aug 22, 2014 1:50 pm
by abinfra
Bpd2000 Thanks for your interest.

Under a bit of code to the beginning of my program, I started doing in 1992.
It is an application that I use in my work only.

Best regards.

---------------------------------------------------------------------------------------------------------------------------------------------
Gracias bpd2000 por tu interés.

Adjunto un poco de código con el inicio de mi programa, que comencé hacer en 1992.
Es una aplicación que utilizo solo yo en mi trabajo.

Saludos cordiales.


bpd2000 wrote:
abinfra wrote: Hello bpd2000.
I have run your example (Disable [Dim] / Enable Close Button "X"), and HMG-IDE and it works correctly.

Can you adapt the code to suit a program in console mode and compile without the HMG-IDE?

If so, I might indicate that I include code in the MAIN function of my code to display the console window with X disabled.

Best regards.
Sam code can not be adopted in Console version
I found solution, due to busy schedule I can not code for console for 1/2 week or
Send me your mini sample console application, I will do necessary correction

Re: Deshabilitar la "X" de cerrar el programa.

Posted: Fri Aug 22, 2014 4:43 pm
by bpd2000
For Console application refer below link
http://hmgforum.com/viewtopic.php?f=6&t ... 008#p36008

Re: Deshabilitar la "X" de cerrar el programa.

Posted: Fri Aug 22, 2014 5:35 pm
by LOUIS
bpd2000 You are a Genius !!!!!

+ 1000

Thank you very much !!!!!

You solved my problem of many years :mrgreen:

HMG I LOVE YOU !!!

Re: Deshabilitar la "X" de cerrar el programa.

Posted: Fri Aug 22, 2014 5:44 pm
by abinfra
Thank you really bpd2000.

A hug.