HMG 3.0.39

HMG announcements; Latest HMG-related news, releases, fixes and updates.

Moderator: Rathinagiri

User avatar
mustafa
Posts: 1172
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: HMG 3.0.39

Post 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:
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.0.39

Post 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
Last edited by mol on Mon Sep 26, 2011 12:56 pm, edited 1 time in total.
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.39

Post by Rathinagiri »

Is it? I will check and tell you.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.39

Post by Rathinagiri »

Hi Marek,

It is working fine for me. How did you compile? IDE or Batch?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.0.39

Post 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'
------------------------------------------------------------------------
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.39

Post 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.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.0.39

Post by mol »

TIA, Rathi :)
Is it working with grid browsing DBF file?
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.0.39

Post by Rathinagiri »

I am afraid not. But let me try.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
mol
Posts: 3774
Joined: Thu Sep 11, 2008 5:31 am
Location: Myszków, Poland
Contact:

Re: HMG 3.0.39

Post by mol »

OK, I can read all dbf file to array before printing.
Many thanks!
User avatar
jairpinho
Posts: 420
Joined: Mon Jul 18, 2011 5:36 pm
Location: Rio Grande do Sul - Brasil
Contact:

Re: HMG 3.0.39

Post 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)
Jair Pinho
HMG ALTA REVOLUÇÃO xBASE
HMG xBASE REVOLUTION HIGH
http://www.hmgforum.com.br
Post Reply