DBF Create Code
Moderator: Rathinagiri
Re: DBF Create Code
Hello,
I found problem using my code in real life. There was a bug. I corrected it.
Please download the source code and compile.
With best regards.
Sudip
I found problem using my code in real life. There was a bug. I corrected it.
Please download the source code and compile.
With best regards.
Sudip
With best regards,
Sudip
Sudip
- 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: DBF Create Code
Estimado Sudip y colegas
me tomado el atrevimiento de modificar y agrandar tu codigo, aun queda mucho por hacer pero me he quedado sin tiempo, lo subo igual para no perderlo para que lo usen o lo sigan modifcando y/o haciendo nuevas versiones, pero me resulto muy divertido. Si en algun momento tengo tiempo libre lo seguire
Saludos
Ismach
me tomado el atrevimiento de modificar y agrandar tu codigo, aun queda mucho por hacer pero me he quedado sin tiempo, lo subo igual para no perderlo para que lo usen o lo sigan modifcando y/o haciendo nuevas versiones, pero me resulto muy divertido. Si en algun momento tengo tiempo libre lo seguire
Saludos
Ismach
- Attachments
-
- DbfCreate.zip
- (2.07 MiB) Downloaded 193 times
Re: DBF Create Code
Hello,
did you already give a look at Otis.
see Otis, update V1.21 06/05/2021
A free utility where in you will find a structure editor, table inspector and a tool to create a prg or a csv for the opened table and index files.
regards
Hans
did you already give a look at Otis.
see Otis, update V1.21 06/05/2021
A free utility where in you will find a structure editor, table inspector and a tool to create a prg or a csv for the opened table and index files.
regards
Hans
Re: DBF Create Code
Hi IsmachIsmach wrote: ↑Sat May 08, 2021 2:03 am Estimado Sudip y colegas
me tomado el atrevimiento de modificar y agrandar tu codigo, aun queda mucho por hacer pero me he quedado sin tiempo, lo subo igual para no perderlo para que lo usen o lo sigan modifcando y/o haciendo nuevas versiones, pero me resulto muy divertido. Si en algun momento tengo tiempo libre lo seguire
Saludos
Ismach
I tried compiling your program in MiniGUI but got following error
****
hbmk2: Processing environment options: -comp=bcc
hbmk2: Compiling resources...
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Error dbfcreate.rc 18 47: Invalid bitmap format
hbmk2[DBFCreate]: Error: Running resource compiler. 20018
brcc32.exe -Ic:\borland\bcc58\Include -Ic:\borland\bcc58\Include\dinkumware -Ic:\minigui\harbour\include -Ic:\minigui\include -IC:\USERS\RPCCH\DOWNLO~1\DBFCRE~1\DBFCRE~1 -IC:\Users\rpcch\Downloads\DbfCreate2\DbfCreate C:\USERS\RPCCH\DOWNLO~1\DBFCRE~1\DBFCRE~1\dbfcreate.rc -foOBJ\dbfcreate.res
****
Failure!
Can you please help resolve it
thank you
- 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: DBF Create Code
Hola
deberias editar el .rc y anular la 2 ultimas lineas asi:
y compilar nuevamente
deberias editar el .rc y anular la 2 ultimas lineas asi:
Code: Select all
// ZSERVER
// ZPREFERENCES
Re: DBF Create Code
Hi IsmachIsmach wrote: ↑Tue May 11, 2021 7:38 pm Hola
deberias editar el .rc y anular la 2 ultimas lineas asi:
y compilar nuevamenteCode: Select all
// ZSERVER // ZPREFERENCES
I have commented the two lines in .rc file but I am still getting the following mistake
****
hbmk2: Processing environment options: -comp=bcc
hbmk2: Compiling resources...
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Borland Resource Compiler Version 5.40
Copyright (c) 1990, 1999 Inprise Corporation. All rights reserved.
Error _temp.rc 6 14: Cannot open file: C:\hmg.3.4.4\\RESOURCES
hbmk2[DBFCreate]: Error: Running resource compiler. 20018
brcc32.exe -Ic:\borland\bcc58\Include -Ic:\borland\bcc58\Include\dinkumware -Ic:\minigui\harbour\include -Ic:\minigui\include -IC:\USERS\RPCCH\DOWNLO~1\DBFCRE~1\DBFCRE~1 -IC:\Users\rpcch\Downloads\DbfCreate2\DbfCreate C:\USERS\RPCCH\DOWNLO~1\DBFCRE~1\DBFCRE~1\_temp.rc -foOBJ\_temp.res
****
Failure!
I have installed hmg.3.4.4 and path c:\hmg.3.4.4\RESOURCES exists
I am using IDE to compile.
Pls help
Thanks
- Claudio Ricardo
- Posts: 367
- Joined: Tue Oct 27, 2020 3:38 am
- DBs Used: DBF, MySQL, MariaDB
- Location: Bs. As. - Argentina
Re: DBF Create Code
Hi... HMG 3.4.4 use MinGw not Bcc58 (MiniGui use this), IMHO you have a issue in path... Change #include <minigui.ch> to #include <hmg.ch>
in "dbfcreate.prg" and try using F5 or Run button from HMG IDE.
in "dbfcreate.prg" and try using F5 or Run button from HMG IDE.
Corrige al sabio y lo harás más sabio, Corrige al necio y lo harás tu enemigo.
WhatsApp / Telegram: +54 911-63016162
WhatsApp / Telegram: +54 911-63016162
Re: DBF Create Code
Hi ClaudioClaudio Ricardo wrote: ↑Mon May 17, 2021 12:40 am Hi... HMG 3.4.4 use MinGw not Bcc58 (MiniGui use this), IMHO you have a issue in path... Change #include <minigui.ch> to #include <hmg.ch>
in "dbfcreate.prg" and try using F5 or Run button from HMG IDE.
Thanks
I tried changing include file to hmg.ch and compiled using HMG.IDE .
It doesn't compile. I get only blank window as per attached ss.
I am actually confused, will it compile by HMG or HMGExtended because the zip file contains both dbfcreate.hbp and dbfcreate.hpj
- Attachments
-
- DBFCreate Error HMG.IDE.png (194.89 KiB) Viewed 1133 times
- Claudio Ricardo
- Posts: 367
- Joined: Tue Oct 27, 2020 3:38 am
- DBs Used: DBF, MySQL, MariaDB
- Location: Bs. As. - Argentina
Re: DBF Create Code
Hi ... I downloaded it, Unzip, Move to one work folder, opened the file "dbfcreate.hbp" and compiled without any error (I did not alter any files)
I downloaded the last file posted and I did not find any .hpj file inside the .zip
Maybe the .zip got corrupted while downloading it, or you need to run HMG as admin. (No use "build.bat" you can delete it)
I downloaded the last file posted and I did not find any .hpj file inside the .zip
Maybe the .zip got corrupted while downloading it, or you need to run HMG as admin. (No use "build.bat" you can delete it)
Corrige al sabio y lo harás más sabio, Corrige al necio y lo harás tu enemigo.
WhatsApp / Telegram: +54 911-63016162
WhatsApp / Telegram: +54 911-63016162
Re: DBF Create Code
Hi Claudio
Many thanks for taking so much trouble to solve my problem.
I did as you mentioned I downloaded again and recompiled using HMG IDE and it worked.
It seems seeing '#include <minigui.ch>' I myself created hpj file(and then forgot about it) and was trying to compile it in HMGExtended. There was no need to go for HMGExtended and it compiles in HMG.
Thanks once again.
Many thanks for taking so much trouble to solve my problem.
I did as you mentioned I downloaded again and recompiled using HMG IDE and it worked.
It seems seeing '#include <minigui.ch>' I myself created hpj file(and then forgot about it) and was trying to compile it in HMGExtended. There was no need to go for HMGExtended and it compiles in HMG.
Thanks once again.