QUIT problem
Moderator: Rathinagiri
-
- Posts: 14
- Joined: Wed Mar 10, 2010 4:09 pm
Re: QUIT problem
Hi
This is possible solution:
Put this directive in myCommands.ch
#xtranslate QUIT => CLOSE ALL ; RELEASE WINDOW ALL
then include myCommand.ch in your prg files:
#include myCommand.ch
And you can safely use QUIT command.
Maybe this directive should be put in one of the system ch files (i_misc.ch) ?
BRGDS
Franček
This is possible solution:
Put this directive in myCommands.ch
#xtranslate QUIT => CLOSE ALL ; RELEASE WINDOW ALL
then include myCommand.ch in your prg files:
#include myCommand.ch
And you can safely use QUIT command.
Maybe this directive should be put in one of the system ch files (i_misc.ch) ?
BRGDS
Franček
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: QUIT problem
Thanks Esgici
but in programming I am still a baby calf
Fprijatelj, very professional your code
greetings to all
Claudio
but in programming I am still a baby calf
Fprijatelj, very professional your code
greetings to all
Claudio
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: QUIT problem
Nice solution, Franček
May be our Maestro will put it official headers file of HMG.
Claudio,
IMO, regarding your previous work, ( puzzle game ), you are a very robust bull in programing
(low level approach to high level needs; such as multi language feature changeable at run time etc)
Saludos and Regards
--
Esgici
May be our Maestro will put it official headers file of HMG.
Claudio,
IMO, regarding your previous work, ( puzzle game ), you are a very robust bull in programing
(low level approach to high level needs; such as multi language feature changeable at run time etc)
Saludos and Regards
--
Esgici
Viva INTERNATIONAL HMG
- srvet_claudio
- Posts: 2193
- Joined: Thu Feb 25, 2010 8:43 pm
- Location: Uruguay
- Contact:
Re: QUIT problem
Esgici,
thanks for your words.
Best regards
Claudio
thanks for your words.
Best regards
Claudio
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: QUIT problem
I'll add to hmg.ch.fprijatelj wrote:Hi
This is possible solution:
Put this directive in myCommands.ch
#xtranslate QUIT => CLOSE ALL ; RELEASE WINDOW ALL
then include myCommand.ch in your prg files:
#include myCommand.ch
And you can safely use QUIT command.
Maybe this directive should be put in one of the system ch files (i_misc.ch) ?
BRGDS
Franček
Thanks.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: QUIT problem
I've already fixed. The fix will be available in 3.0.26.fprijatelj wrote:Hi
This is possible solution:
Put this directive in myCommands.ch
#xtranslate QUIT => CLOSE ALL ; RELEASE WINDOW ALL
then include myCommand.ch in your prg files:
#include myCommand.ch
And you can safely use QUIT command.
Maybe this directive should be put in one of the system ch files (i_misc.ch) ?
BRGDS
Franček
It is based on your suggestion.
I've only omitted the CLOSE ALL command, since RELEASE WINDOW ALL command invokes the ReleaseAllWindows() function that includes a call to dbcloseall().
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: QUIT problem
Hi, Roberto
Something is happend with command QUIT i think is overlaped the commad oExcel:Quit(), attached please find a little example. the error that these show is: Test.prg(52) Error E0030 Syntax error "syntax error at 'WINDOW'"
Regards,
Ed
Hola Roberto,
Algo esta pasando con el comando QUIT , creo que esta traslapando el comando oExcel:Quit(), adjunto un pequeño ejemplo, el error que muestras es:
Test.prg(52) Error E0030 Syntax error "syntax error at 'WINDOW'"
Saludos,
Ed
Something is happend with command QUIT i think is overlaped the commad oExcel:Quit(), attached please find a little example. the error that these show is: Test.prg(52) Error E0030 Syntax error "syntax error at 'WINDOW'"
Regards,
Ed
Hola Roberto,
Algo esta pasando con el comando QUIT , creo que esta traslapando el comando oExcel:Quit(), adjunto un pequeño ejemplo, el error que muestras es:
Test.prg(52) Error E0030 Syntax error "syntax error at 'WINDOW'"
Saludos,
Ed
- Attachments
-
- oExcel1.zip
- (2.01 KiB) Downloaded 256 times
Last edited by Steed on Wed Apr 28, 2010 3:44 pm, edited 1 time in total.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: QUIT problem
Hi Ed
Are you sure Quit() is a valid OLE (Excel Class) method ?
Does may be Close() ?
Regards, saludos
--
Esgici
Are you sure Quit() is a valid OLE (Excel Class) method ?
Does may be Close() ?
Regards, saludos
--
Esgici
Viva INTERNATIONAL HMG
- Roberto Lopez
- HMG Founder
- Posts: 4004
- Joined: Wed Jul 30, 2008 6:43 pm
Re: QUIT problem
I'll check it ASAP.Steed wrote:Hi, Roberto
Something is happend with command QUIT i think is overlaped the commad oExcel:Quit(), attached please find a little example. the error that these show is: Test.prg(52) Error E0030 Syntax error "syntax error at 'WINDOW'"
Regards,
Ed
Hola Roberto,
Algo esta pasando con el comando QUIT , creo que esta traslapando el comando oExcel:Quit(), adjunto un pequeño ejemplo, el error que muestras es:
Test.prg(52) Error E0030 Syntax error "syntax error at 'WINDOW'"
Saludos,
Ed
Thanks for reporting.
Regards/Saludos,
Roberto
(Veritas Filia Temporis)
Roberto
(Veritas Filia Temporis)
Re: QUIT problem
Hi, Esqici
Off course, the command is oExcel:Quit
BTW, Roberto i put a small update in the sample, in the same link of the first post.
Regards,
Eduar
Off course, the command is oExcel:Quit
BTW, Roberto i put a small update in the sample, in the same link of the first post.
Regards,
Eduar