Page 2 of 3
Re: framework para HMG
Posted: Thu Aug 20, 2020 11:48 am
by dragancesu
Can you upload any sample?
Re: framework para HMG
Posted: Thu Aug 20, 2020 12:06 pm
by serge_girard
Uh... this was over 30years ago.....
Re: framework para HMG
Posted: Thu Aug 20, 2020 12:17 pm
by serge_girard
you're lucky: found dbf and one prg
this will give an idea, I hope!
remember: pre-windows
Serge
Re: framework para HMG
Posted: Thu Aug 20, 2020 3:39 pm
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 (62.41 KiB) Viewed 3587 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
Re: framework para HMG
Posted: Thu Aug 20, 2020 5:09 pm
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
Re: framework para HMG
Posted: Thu Aug 20, 2020 7:00 pm
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.
Re: framework para HMG
Posted: Fri Aug 21, 2020 1:27 am
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....

Re: framework para HMG
Posted: Fri Aug 21, 2020 10:16 pm
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
Re: framework para HMG
Posted: Sat Aug 22, 2020 12:51 pm
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
Re: framework para HMG
Posted: Sat Aug 22, 2020 4:13 pm
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.