Page 3 of 4

Re: Test Activex HTML + DBF

Posted: Tue Jul 02, 2024 1:17 pm
by mustafa
Hola amigos:
Experimentando con ChatGPT, no he logrado ayuda notable
con nuestra programación HMG ?, pero si he conseguido que
con el lenguaje HTML, varios progresos, le he propuesto
que me corrija los dos ficheros, index1.html e index2.html
y una vez efectuado el arreglo, he montado ListHtml1.prg y
ListHtml2.prg con algunas modificaciones, del código fuente.

Es interesante, poder mandar informes de una base de datos DBF
a un fichero.html que podemos ver desde un PC, Tablet, teléfono

Saludos/Regards/Salam
Mustafa
*---------------------------- Google ----------------------------------------*
Hello friends:
Experimenting with ChatGPT, I haven't gotten any noticeable help
with our HMG programming?, but I have managed to
with the HTML language, several progresses, I have proposed
please correct the two files, index1.html and index2.html
and once the fix was made, I mounted ListHtml1.prg and
ListHtml2.prg with some modifications, from source code.

It is interesting to be able to send reports from a DBF database
to a .html file that we can see from a PC, Tablet, phone

Saludos/Regards/Salam
Mustafa

Re: Test Activex HTML + DBF

Posted: Tue Jul 02, 2024 1:33 pm
by serge_girard
Thanks for sharing Mustafa!

Re: Test Activex HTML + DBF

Posted: Wed Jul 03, 2024 3:14 pm
by franco
Thank you Mustafa.

Re: Test Activex HTML + DBF

Posted: Wed Jul 03, 2024 3:28 pm
by jparada
Hi, please take a look at the video in the attached file, it is a web project developed entirely with UT/TWeb (harbour) https://carles9000.github.io/
this is a project that has been in production for about a year in my company.

Anyone who has a real need and interest in learning web development with this project, I am ready to support you in all your learning, the only thing I ask is that you have a real interest and need to learn.

Regards,
Javier

Re: Test Activex HTML + DBF

Posted: Wed Jul 03, 2024 4:02 pm
by serge_girard
Thanks Javier!

Re: Test Activex HTML + DBF

Posted: Fri Jul 05, 2024 1:00 pm
by edk
Many thanks Javier!
I once thought about a similar solution, but I lacked time and enthusiasm. I'm slowly reviewing your project and the U-DBU application based on it, a lot of the material is in Spanish and it takes me some time to learn new information. I don't know if there is something wrong with converting the display of characters in other code pages, but in your application I was unable to get the characters displayed correctly from the DBF, even though I chose the correct code page.
Only when I set the code page in the application to UTF8 did it start converting correctly to the selected code pages.
I also don't know why uhttpd2 does not have active UTF8, how can I force UTF8 to be active?

Re: Test Activex HTML + DBF

Posted: Fri Jul 05, 2024 3:09 pm
by jparada
Hi Edward,

I'm sorry to hear that you haven't had a good experience on the codepage topic, please take a look at this link
https://www.youtube.com/watch?v=hxbyMwW5Oqs

That talks specifically about the topic of codepage, unfortunately for you, it is in Spanish, but I think you could understand the essence of what is explained, in any case, if I can help you with anything, don't hesitate to let me know.

Regards,
Javier

Re: Test Activex HTML + DBF

Posted: Mon Jul 08, 2024 2:15 pm
by quartz565
Thanks Javier!

Re: Test Activex HTML + DBF

Posted: Mon Jul 08, 2024 3:11 pm
by vagblad
Hello Javier,

Thank you for these amazing tools. It is very interesting. I tried to setup the environment so i could do some tests and i cannot compile with msvc64. Harbour is installed at c:\harbour. I run go_msvc64.bat from my app's folder and i get a lot of warnings and lots of errors of "unresolved external symbol" .

I am just trying to compile the sample.tpl . Maybe i am using wrong Harbour version?

Visual studio 2022 is installed with the c++ environment installed as well.
i am attaching a screenshot of the console errors.
ssconsole.JPG
ssconsole.JPG (485.53 KiB) Viewed 1128 times
Would be really grateful if anyone had any insights to this. Thanks a lot

Re: Test Activex HTML + DBF

Posted: Mon Jul 08, 2024 3:28 pm
by franco
Thanks for sharing Javier.