framework para HMG

HMG en Español

Moderator: Rathinagiri

User avatar
dragancesu
Posts: 931
Joined: Mon Jun 24, 2013 11:53 am
DBs Used: DBF, MySQL, Oracle
Location: Subotica, Serbia

Re: framework para HMG

Post by dragancesu »

Can you upload any sample?
User avatar
serge_girard
Posts: 3420
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: framework para HMG

Post by serge_girard »

Uh... this was over 30years ago.....
There's nothing you can do that can't be done...
User avatar
serge_girard
Posts: 3420
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: framework para HMG

Post by serge_girard »

you're lucky: found dbf and one prg

this will give an idea, I hope!

remember: pre-windows

Serge
Attachments
CG.rar
(8.21 KiB) Downloaded 201 times
There's nothing you can do that can't be done...
martingz
Posts: 408
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Re: framework para HMG

Post by martingz »

I found this , I abandoned it because I couldn't find a way to not include the rpt files in the executable
reportes.jpg
reportes.jpg (62.41 KiB) Viewed 3588 times
This is te code based in HMGreport

DEFINE REPORT TEMPLATE
BEGIN LAYOUT
PAPERSIZE PRINTER_PAPER_A4
ORIENTATION PRINTER_ORIENT_PORTRAIT
END LAYOUT

BEGIN HEADER

BANDHEIGHT 25

BEGIN TEXT
EXPRESSION CATAREAS->DESCRIP
ROW 110
COL 171
WIDTH 100
HEIGHT 30
FONTNAME 'Arial'
FONTSIZE 12
END TEXT

BEGIN PICTURE
VALUE 'D:/Myhmg.4/HmgReport/Comapa.jpg'
ROW 12
COL 62
WIDTH 100
HEIGHT 100
STRETCH .F.
END PICTURE

BEGIN TEXT
EXPRESSION ' '
ROW 42
COL 306
WIDTH 100
HEIGHT 30
FONTNAME 'Arial'
FONTSIZE 12
END TEXT

END HEADER

BEGIN DETAIL

BANDHEIGHT 6

BEGIN TEXT
EXPRESSION CATAREAS->CLAVAREA
ROW 1
COL 0
WIDTH 100
HEIGHT 30
FONTNAME 'Arial'
FONTSIZE 12
END TEXT

BEGIN TEXT
EXPRESSION CATAREAS->DESCRIP
ROW 0
COL 111
WIDTH 100
HEIGHT 30
FONTNAME 'Arial'
FONTSIZE 12
END TEXT

END DETAIL

BEGIN FOOTER

BANDHEIGHT 27

END FOOTER

END REPORT
Pcmodula
Posts: 37
Joined: Thu Nov 22, 2012 6:00 pm

Re: framework para HMG

Post by Pcmodula »

Hi, on Minigui\samples\advanced you can find One sample
that use rpt separated from exe, but now i do not Remember the exact name directory folder.

Salu2
Pcmodula
martingz
Posts: 408
Joined: Wed Nov 18, 2009 11:14 pm
Location: Mexico

Re: framework para HMG

Post by martingz »

Pcmodula, use it, but when I compile my program the rpt file is included in the exe, when I make a modification and launch the report from my application it always executes the old one, I have to compile again and my now if it shows with the changes, I can't find The last one I did, there I already had a preview of the report and it was more finished.
User avatar
Ismach
Posts: 166
Joined: Wed Nov 28, 2012 5:55 pm
DBs Used: DBF, mySQL, Mariadb, postgreSQL, Oracle, Db2, Interbase, Firebird, and SQLite
Location: Buenos Aires - Argentina

Re: framework para HMG

Post by Ismach »

Bueno la idea es buena, si el colega nos da mas detalle de su idea creo que todos estara dispuestos a colaborar...

Mientras tanto les comento la mia

Bueno podriamos decir que este lenguaje está bien madurito y con HMG y demas librerias tiene de todo y como puede accesar cualquie base de datos
sea dbf, mdb, mysql, postgressql, mariadb, mssql, oracle o firebird, sugiero un generador de codigo, una herramienta tipo case.
Cuando estudiaba ingenieria cuando estudiabamos las distintas metodologias como SSADM, Metricas, Oracle Method, Extreme Programming, Metodologia Orientada a Objetos, habia una que mas me gusto "ingenieria de la informacion" que comunmente se basaba en alguna herramienta case que asceleraba alguna fase, y alli entra lo que algun dia quiero terminar (Un generador de codigo), pero no uno como genexus ni packbase ni nada de eso porque he traabajado con las 2 y el codigo que generan es totalmente inentendible, yo quiero generar un codigo basico de la primera version y desde alli en adelante avanzar e intervenir y no tener que volver a generar el codigo por cada vez que encuentre un error o necesite agregar algo nuevo.... :D
User avatar
danielmaximiliano
Posts: 2763
Joined: Fri Apr 09, 2010 4:53 pm
DBs Used: DBF
Location: Argentina
Contact:

Re: framework para HMG

Post by danielmaximiliano »

Hola a todos!!, No soy usuario de desarrollos que incluyan email dentro, lo que hice fue ayudar con algunos problemas de usuarios Harbour/HMG leyendo e investigando CDOsys y la librería HBTip pude hacer ejemplos que otros usuarios agregaron cosas, hace días en empezé a investigar otra forma de correos (email) ya que POP3 tiene unas limitaciones sobre el manejo de carpetas en nuestra cuentas de correos.
Ahora estoy estancado en armar o expandir HBtip para manejar IMAPs pero estoy estancado en usar GMail ya que los servidores trabajan con Keys para poder autenticar el usuario GMail y poder utilizar este servicio como también Yahoo y Outlook.
Quien pueda darme una mano con las key de GMail se lo estaré agradecido.

Hello everyone !!, I am not a user of developments that include email inside, what I did was help with some problems of Harbour / HMG users reading and investigating CDOsys and the HBTip library I was able to make examples that other users added things, days ago I started to investigate another form of emails (email) since POP3 has limitations on the handling of folders in our email accounts.
Now I am stuck in building or expanding HBtip to handle IMAPs but I'm stuck in using GMail since the servers work with Keys to be able to authenticate the GMail user and be able to use this service as well as Yahoo and Outlook.
Whoever can give me a hand with the GMail keys I will be grateful
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
Telegram invitation https://t.me/HMGWorkspace
User avatar
mustafa
Posts: 1177
Joined: Fri Mar 20, 2009 11:38 am
DBs Used: DBF
Location: Alicante - Spain
Contact:

Re: framework para HMG

Post by mustafa »

Hola amigo Daniel
Intente hacer alguna pruebas basadas en tu magnifico Sample de Correo
pero no he tenido mucho éxito .
Conseguí mandar un correo con Gmail , siempre autorizando al remitente (Sender Adress)
Entrando en esta dirección ==>> myaccount.google.com/lesssecureapps?pli=1
Permitir el acceso de aplicaciones poco seguras: NO ==>> poniendo el Botón SI
Así conseguí que no se produzca Error en la Aplicación

No se si puede servir ?
Un cordial Saludo
Mustafa
franco
Posts: 921
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: framework para HMG

Post by franco »

A Mustafa suggests you must allow less secure apps . gmail suggests yes. To get around this I do not recieve emails in this account. I forward
to another account that has allow insecure N. I haven`t had any problems . I only use this gmail account for sending out of application.
All The Best,
Franco
Canada
Post Reply