Page 2 of 7

Re: HMG 3.0.39

Posted: Mon Sep 19, 2011 8:08 pm
by mustafa
Hola amigos:
en SAMPLES\REPORT.ADVANCED

Hay que colocar en el Folder junto a los Prg
hbvpdf.ch
hbvpdf.prg
hbvpsup.prg

y en programa principal demo.prg
Hay que añadir las siguientes lineas

#include "hmg.ch"
Set procedure to hbvpdf.prg <---------AÑADIR
Set procedure to hbvpsup.prg <---------AÑADIR

Function Main
etc.etc.

La Libreria con los PRG esta en:
http://hmgforum.com/viewtopic.php?f=5&t ... hbvpdf.prg

Attachments:
hbvpdf.zip [122.07 KiB]
Downloaded 72 times

Aportada por el Gran Amigo : rathinagiri

Un Fuerte Saludo
Mustafa :mrgreen:


Translated by Google

Hello friends:
in SAMPLES\REPORT.ADVANCED

Should be placed in the folder with the Prg
hbvpdf.ch
hbvpdf.prg
hbvpsup.prg

main program and demo.prg
We should add the following lines

# Include "hmg.ch"

SET PROCEDURE TO hbvpdf.prg <---------------
SET PROCEDURE TO hbvpsup.prg <---------------

Main Function
etc.etc.

The Library is in the PRG:

http://hmgforum.com/viewtopic.php?f=5&t ... hbvpdf.prg

Attachments:
hbvpdf.zip [122.07 KiB]
Downloaded 72 times

Provided by the Great Friend: rathinagiri

A Strong Greeting
Mustafa :mrgreen:

Re: HMG 3.0.39

Posted: Mon Sep 26, 2011 12:17 pm
by mol
HFCL - is ir working with hmg 3.0.39?

I'm trying to recompile gridprint sample, and result .exe ends immediately.
What's going on?

Is GridPrint working when RowSource is defined? Or it's only for array mode?
Regards, Marek

Re: HMG 3.0.39

Posted: Mon Sep 26, 2011 12:26 pm
by Rathinagiri
Is it? I will check and tell you.

Re: HMG 3.0.39

Posted: Mon Sep 26, 2011 12:32 pm
by Rathinagiri
Hi Marek,

It is working fine for me. How did you compile? IDE or Batch?

Re: HMG 3.0.39

Posted: Mon Sep 26, 2011 1:04 pm
by mol
I'm trying to compile \hmg\samples\gridprint\main.prg
via build.bat
.exe.exe instead of main.exe is produced.
build.log contains this report:

Code: Select all

C:\hmg\\mingw\bin\nm.exe: 'c:/temp/hbmk_06swcd.dir/.c': No such file
hb_out.log:

Code: Select all

Application Internal Error - c:\hmg\SAMPLES\GridPrint\b.exe
Terminated at: 2011.09.26 15:02:16
Unrecoverable error 9012: Can't locate the starting procedure: 'MAIN'
------------------------------------------------------------------------

Re: HMG 3.0.39

Posted: Mon Sep 26, 2011 1:22 pm
by Rathinagiri
mol wrote:I'm trying to compile \hmg\samples\gridprint\main.prg
via build.bat
.exe.exe instead of main.exe is produced.
build.log contains this report:

Code: Select all

C:\hmg\\mingw\bin\nm.exe: 'c:/temp/hbmk_06swcd.dir/.c': No such file
hb_out.log:

Code: Select all

Application Internal Error - c:\hmg\SAMPLES\GridPrint\b.exe
Terminated at: 2011.09.26 15:02:16
Unrecoverable error 9012: Can't locate the starting procedure: 'MAIN'
------------------------------------------------------------------------
I am sorry, I think I have not updated build.bat.

I have compiled using IDE. I will change the build.bat and upload the new version. Sorry for the inconvenience.

Re: HMG 3.0.39

Posted: Mon Sep 26, 2011 2:26 pm
by mol
TIA, Rathi :)
Is it working with grid browsing DBF file?

Re: HMG 3.0.39

Posted: Mon Sep 26, 2011 2:36 pm
by Rathinagiri
I am afraid not. But let me try.

Re: HMG 3.0.39

Posted: Mon Sep 26, 2011 3:07 pm
by mol
OK, I can read all dbf file to array before printing.
Many thanks!

Re: HMG 3.0.39

Posted: Mon Sep 26, 2011 3:31 pm
by jairpinho
Failure to OLE class into two parts following error log


save file

Date:26/09/2011 Time: 10:05:14
Error WINOLE/1007 Argument error: SAVEAS (DOS Error -2147352567)

Called from TOLEAUTO:SAVEAS(0)
Called from IMPRIMIR_COMUNICACAO_PERIODO(1711)
Called from (b)COMUNICACAO(1386)
Called from _DOCONTROLEVENTPROCEDURE(5268)
Called from EVENTS(1434)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4933)
Called from COMUNICACAO(59)
Called from (b)FORM_MAIN(90)
Called from _DOCONTROLEVENTPROCEDURE(5268)
Called from EVENTS(1396)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4933)
Called from DOMETHOD(7374)
Called from ACESSOAOSISTEMA(48)
Called from (b)FORM_MAIN(4)
Called from _PROCESSINITPROCEDURE(5088)
Called from _ACTIVATEWINDOW(4921)
Called from FORM_MAIN(163)
Called from (b)MAIN(4)
Called from _PROCESSINITPROCEDURE(5088)
Called from _ACTIVATEWINDOW(4844)
Called from DOMETHOD(7374)
Called from MAIN(113)


insert picture

Date:26/09/2011 Time: 10:15:40
Error WINOLE/1007 Argument error: INSERT (DOS Error -2147352567)

Called from TOLEAUTO:INSERT(0)
Called from IMPRIMIR_PRE_NOTA(1376)
Called from (b)BT_NOVO_PRE_NOTA(2720)
Called from _DOCONTROLEVENTPROCEDURE(5268)
Called from EVENTS(1434)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4933)
Called from DOMETHOD(7374)
Called from BT_NOVO_PRE_NOTA(598)
Called from (b)PRE_NOTA(59)
Called from EVENTS(2771)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4933)
Called from DOMETHOD(7374)
Called from PRE_NOTA(37)
Called from (b)FORM_MAIN(97)
Called from _DOCONTROLEVENTPROCEDURE(5268)
Called from EVENTS(1396)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(4933)
Called from DOMETHOD(7374)
Called from ACESSOAOSISTEMA(48)
Called from (b)FORM_MAIN(4)
Called from _PROCESSINITPROCEDURE(5088)
Called from _ACTIVATEWINDOW(4921)
Called from FORM_MAIN(163)
Called from (b)MAIN(4)
Called from _PROCESSINITPROCEDURE(5088)
Called from _ACTIVATEWINDOW(4844)
Called from DOMETHOD(7374)
Called from MAIN(113)