Test Activex HTML + DBF

HMG Samples and Enhancements

Moderator: Rathinagiri

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

Re: Test Activex HTML + DBF

Post 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
Attachments
Web_DataBase_New5.zip
(2.47 MiB) Downloaded 110 times
User avatar
serge_girard
Posts: 3333
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Test Activex HTML + DBF

Post by serge_girard »

Thanks for sharing Mustafa!
There's nothing you can do that can't be done...
franco
Posts: 882
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: Test Activex HTML + DBF

Post by franco »

Thank you Mustafa.
All The Best,
Franco
Canada
jparada
Posts: 433
Joined: Fri Jan 23, 2009 5:18 pm

Re: Test Activex HTML + DBF

Post 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
Attachments
app_javier.zip
(2.65 MiB) Downloaded 136 times
User avatar
serge_girard
Posts: 3333
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Test Activex HTML + DBF

Post by serge_girard »

Thanks Javier!
There's nothing you can do that can't be done...
edk
Posts: 999
Joined: Thu Oct 16, 2014 11:35 am
Location: Poland

Re: Test Activex HTML + DBF

Post 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?
Attachments
Record_2024_07_05_14_15_57_110.7z
(1.99 MiB) Downloaded 105 times
jparada
Posts: 433
Joined: Fri Jan 23, 2009 5:18 pm

Re: Test Activex HTML + DBF

Post 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
User avatar
quartz565
Posts: 670
Joined: Mon Oct 01, 2012 12:37 pm
Location: Thessaloniki, Greece
Contact:

Re: Test Activex HTML + DBF

Post by quartz565 »

Thanks Javier!
Best Regards,
Nikos.

os: Windows Server 2019 - 64
User avatar
vagblad
Posts: 174
Joined: Tue Jun 18, 2013 12:18 pm
DBs Used: MySQL,DBF
Location: Thessaloniki, Greece

Re: Test Activex HTML + DBF

Post 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 1034 times
Would be really grateful if anyone had any insights to this. Thanks a lot
Vagelis Prodromidis
Email: vagblad@gmail.com, Skype: vagblad
franco
Posts: 882
Joined: Sat Nov 02, 2013 5:42 am
DBs Used: DBF
Location: Canada

Re: Test Activex HTML + DBF

Post by franco »

Thanks for sharing Javier.
All The Best,
Franco
Canada
Post Reply