Migration from HMG to HMG Minigui

You can share your experience with HMG. Share with some screenshots/project details so that others will also be benefited.

Moderator: Rathinagiri

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

Re: Migration from HMG to HMG Minigui

Post by dragancesu »

Remember dos time

In batch use command mode 80,25

If have minimized put mode 1,1
User avatar
serge_girard
Posts: 3342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Migration from HMG to HMG Minigui

Post by serge_girard »

I send a ZIP file containing a tiny BAT_TEST.PRG ....

2 exe files: BAT_TEST.EXE compiled with HMG and BAT_TEST_MG.EXE compiled with MiniGui.
2 bat files: BT.BAT and BTMG.BAT to call BAT_TEST.EXE and second to call BAT_TEST_MG.EXE

Now put all in a new folder and the on your desktop create a shorcut to BT.BAT and then a shortcut to BTMG.BAT
Clicking on BT.BAT will open 1 window and BTMG.BAT 2 windows...

Now how to get rid of second window ?
Attachments
bat-test.zip
(2.73 MiB) Downloaded 343 times
There's nothing you can do that can't be done...
User avatar
gfilatov
Posts: 1099
Joined: Fri Aug 01, 2008 5:42 am
Location: Ukraine
Contact:

Re: Migration from HMG to HMG Minigui

Post by gfilatov »

serge_girard wrote: Fri Apr 01, 2022 3:45 pm ...
Now how to get rid of second window ?
Serge,

Please modify the following line in your batch file combt.bat:
hbmk2 bat_test.hbp bat_test.hbc c:\minigui\harbour\bin\minigui.hbc -inc -comp=bcc -beep -o%oname% -exitstr -Lc:\minigui\lib
as below
hbmk2 bat_test.hbp bat_test.hbc -gtgui c:\minigui\harbour\bin\minigui.hbc -inc -comp=bcc -beep -o%oname% -exitstr -Lc:\minigui\lib
That's all :!:
Kind Regards,
Grigory Filatov

"Everything should be made as simple as possible, but no simpler." Albert Einstein
User avatar
serge_girard
Posts: 3342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Migration from HMG to HMG Minigui

Post by serge_girard »

Brilliant Grigory ! Many Thanks

Serge
There's nothing you can do that can't be done...
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Migration from HMG to HMG Minigui

Post by tonton2 »

Bonsoir tout le monde
très intéressant , Mr Serge avez vous réussi votre migration de HMG a minigui extended ? , car je pense aussi le faire
L'Algerie vous salut
Y.TABET
User avatar
serge_girard
Posts: 3342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Migration from HMG to HMG Minigui

Post by serge_girard »

Oui, Tonton!
C'etait très facile!

Serge
There's nothing you can do that can't be done...
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Migration from HMG to HMG Minigui

Post by tonton2 »

serge_girard wrote: Tue Jan 24, 2023 1:21 pm Oui, Tonton!
C'etait très facile!

Serge
Merci mon ami , je vais essayer de le faire également
@+
L'Algerie vous salut
Y.TABET
User avatar
serge_girard
Posts: 3342
Joined: Sun Nov 25, 2012 2:44 pm
DBs Used: 1 MySQL - MariaDB
2 DBF
Location: Belgium
Contact:

Re: Migration from HMG to HMG Minigui

Post by serge_girard »

Commence avec des application simple/petits..!
Serge
There's nothing you can do that can't be done...
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Migration from HMG to HMG Minigui

Post by tonton2 »

serge_girard wrote: Tue Jan 24, 2023 6:07 pm Commence avec des application simple/petits..!
Serge
trés bien et merci
L'Algerie vous salut
Y.TABET
User avatar
tonton2
Posts: 468
Joined: Sat Jun 29, 2013 1:26 pm
Location: Algerie
Contact:

Re: Migration from HMG to HMG Minigui

Post by tonton2 »

serge_girard wrote: Tue Jan 24, 2023 6:07 pm Commence avec des application simple/petits..!
Serge
Première phase premier problème inexpliqué :o
Trouver l'erreur :mrgreen:
C:\MINIGUI\IDE\SAMPLES\GESTIO~1\gestion.Prg(41) Error E0030 Syntax error "syntax error at 'WINDOW'"
Attachments
First_TRY.PNG
First_TRY.PNG (29.2 KiB) Viewed 23117 times
L'Algerie vous salut
Y.TABET
Post Reply