HMG 3.0.46

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

Moderator: Rathinagiri

User avatar
danielmaximiliano
Posts: 2233
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Has thanked: 260 times
Been thanked: 41 times
Contact:

Re: HMG 3.0.46

Post by danielmaximiliano »

danielmaximiliano wrote:Hi :
C:\hmg.3.0.46\SAMPLES\USER.COMPONENTS\demo.prg Not Work.
Harbour 3.2.0dev (Rev. 18443)
Copyright (c) 1999-2012, http://harbour-project.org/
C:\hmg.3.0.46\SAMPLES\USER.COMPONENTS\demo.prg(22) Error E0030 Syntax error "syntax error at '.'"
C:\hmg.3.0.46\SAMPLES\USER.COMPONENTS\demo.prg(23) Error E0030 Syntax error "syntax error at '.'"
C:\hmg.3.0.46\SAMPLES\USER.COMPONENTS\demo.prg(24) Error E0030 Syntax error "syntax error at '.'"
C:\hmg.3.0.46\SAMPLES\USER.COMPONENTS\demo.prg(25) Error E0030 Syntax error "syntax error at '.'"
C:\hmg.3.0.46\SAMPLES\USER.COMPONENTS\demo.prg(34) Error E0030 Syntax error "syntax error at '@'"

5 errors
4 errors
Sorry , I read the accompanying text readme.txt and commentary of Roberto Lopez on the operation of
USER INTERFACE COMPONENTS
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`.HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. : +54901169026142
Telegram Name : DaNiElMaXiMiLiAnO

User avatar
andyglezl
Posts: 1229
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 37 times
Been thanked: 95 times
Contact:

Post by andyglezl »

Hola de nuevo

Estoy tratando de generar archivos a PDF.

Con este codigo, me despliega los siguientes mensajes de error:
--------------------------------------------------------------------
Hello again

I am trying to generate PDF files.

With this code, I displayed the following error messages:
--------------------------------------------------------------------

FUNCTION GenPDFCte( cCte, cNomCte )
LOCAL lSuccess := .f. ; cLB := chr( 10 )

SELECT HPDFDOC cCte+" Edo.Cta.pdf" TO lSuccess papersize HPDF_PAPER_LETTER
SET HPDFDOC COMPRESS ALL
SET HPDFDOC PERMISSION TO READ <--------------- Si comento estas 2 lineas - If I comment these 2 lines
SET HPDFDOC PERMISSION TO PRINT <--------------- no aparecen los mensaje... - message does not appear ...
*SET HPDFDOC PAGEMODE TO OUTLINE
SET HPDFINFO AUTHOR TO "AGL"
SET HPDFINFO CREATOR TO "CADES"
SET HPDFINFO TITLE TO "Estado de Cuenta del Cliente: "+cCte
SET HPDFINFO SUBJECT TO "Estado de Cuenta desde el Sistema CADES"
SET HPDFINFO KEYWORDS TO "Estado, Cuenta, CADES, LibHaru, Harbour, MiniGUI"
SET HPDFINFO DATECREATED TO date() TIME time()
IF lSuccess
START HPDFDOC
<--------------- Los mismos mensajes si lo pongo aqui... - The same messages if I put it here ...
START HPDFPAGE
Print_HeaderBox( cCte, cNomCte )
@ 235,200 HPDFPRINT "This is right aligned text" FONT "Courier-Bold" SIZE 14 RIGHT
@ 245,010 HPDFPRINT '@ 250, 105 HPDFPRINT "This is center aligned text" COLOR { 255, 0, 0 } CENTER'
@ 250,105 HPDFPRINT "This is center aligned text" COLOR { 255, 0, 0 } CENTER
@ 260,010 HPDFPRINT '@ 270, 105 HPDFPRINT "This is text in bigger font size" SIZE 30 COLOR { 255, 0, 0 } '
@ 270,010 HPDFPRINT "This is text in bigger font size" SIZE 30 COLOR { 100, 0, 0 }
END HPDFPAGE
<------- Si los pongo aqui, no genera el archivo PDF... - If I put them here, does not generate the PDF ...
END HPDFDOC
ENDIF

SHELLEXECUTE( 0, "open" , cCte+"-Edo.Cta.pdf")
RETURN( Nil )


Alguna pista ? Gracias.
Any hints? Thank you.
Attachments
Error de PDF.jpg
Error de PDF.jpg (26.53 KiB) Viewed 13864 times
Andrés González López
Desde Guadalajara, Jalisco. México.

User avatar
Rathinagiri
Posts: 5277
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Has thanked: 174 times
Been thanked: 190 times
Contact:

Post by Rathinagiri »

Can you please post a small sample?
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.

User avatar
andyglezl
Posts: 1229
Joined: Fri Oct 26, 2012 7:58 pm
Location: Guadalajara Jalisco, MX
Has thanked: 37 times
Been thanked: 95 times
Contact:

Post by andyglezl »

Hello rathinagiri

Annex I Example, Thanks.
---------------------------------------
Hola rathinagiri

Te anexo el ejemplo, Gracias.
---------------------------------------
Attachments
DemoPDF.rar
(954.33 KiB) Downloaded 559 times
Andrés González López
Desde Guadalajara, Jalisco. México.

CCH4CLIPPER
Posts: 130
Joined: Tue Mar 03, 2009 8:59 am
Been thanked: 1 time

Post by CCH4CLIPPER »

Hi All

Can I assume that HMG3.0.46 is now stable for production usage ? :-)

CCH4CLIPPER
http://cch4clipper.blogspot.com" onclick="window.open(this.href);return false;

User avatar
esgici
Posts: 4524
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 400 times
Been thanked: 112 times
Contact:

Post by esgici »

CCH4CLIPPER wrote: Can I assume that HMG3.0.46 is now stable for production usage ? :-)
No doubt :arrow: 8-)

Happy HMG'ing :D
Viva INTERNATIONAL HMG :D

User avatar
sudip
Posts: 1446
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India
Has thanked: 5 times
Been thanked: 2 times

Post by sudip »

After long gap, I am thinking to work with HMG ... During 3 years, I forgot many basic things. Sometimes I may ask even very basic questions also ... ;-)
With best regards,
Sudip

User avatar
bpd2000
Posts: 1126
Joined: Sat Sep 10, 2011 4:07 am
Location: India
Has thanked: 225 times
Been thanked: 118 times

Post by bpd2000 »

sudip wrote:After long gap, I am thinking to work with HMG ... During 3 years, I forgot many basic things. Sometimes I may ask even very basic questions also ... ;-)
Your activity during long gap ?
BPD
Convert Dream into Reality through HMG

User avatar
esgici
Posts: 4524
Joined: Wed Jul 30, 2008 9:17 pm
DBs Used: DBF
Location: iskenderun / Turkiye
Has thanked: 400 times
Been thanked: 112 times
Contact:

Post by esgici »

Hi Sudip
sudip wrote:... I am thinking to work with HMG ...
Very good news :)

I'm sure your return will be magnificent :!:

Basic or not, all your questions are welcome :arrow:

Happy HMG'ing, now and forever :D
Viva INTERNATIONAL HMG :D

User avatar
sudip
Posts: 1446
Joined: Sat Mar 07, 2009 11:52 am
Location: Kolkata, WB, India
Has thanked: 5 times
Been thanked: 2 times

Post by sudip »

Thanks Esgici :D
Actually I never completely left HMG anytime. You know it :-)
Downloaded different versions time to time. Still one of my clients using software created by me developed with HMG... :D
With best regards,
Sudip

Post Reply