bobypoz wrote:I have been able to convert clipper to console mode windows application using HMG? But what to do then?! Where to start? I have been searching the web for answer, and have not found one yet...so I hope to find it here. I think there are a lot of people who are stuck with this problem. So, any suggestions are welcome.

hi bobypoz:

i think what you need is to convert your 16-bit applications into 32-bit graphic mode.
it takes to me some time to learn, but now it is very easy.
i found two blogs and after this forum. Here, there are very nice people who can teach you in your needs, only you need to ask.
you need to see some samples to know how HMG works, for that, follow this two links.

I converted it into 32bit console app as raumi75 said in his blog, but do not know where to start making my 32bit console application into GUI application. What to do with say- get, how to arrange arrays?! What are the steps to take so that process would be not as painful as I think it will be.

Daniel: Yes, some fuctions are missing as this is just a part of my application. I posted it because it fills two arrays, and that is something that I do not know how to do in HMG.

Carlos: Yes, that is what I need to do. Hope that you can explain me how to do it, so it becomes easy to me.

First of all we must digest the fact that we are in no more in full control of the user's activities! User can do whatever he wants. He can just minimize the window and do other job. He can click any of the button at any time. So, GUI is event based. @ say became @ label. @ get became @ textbox, editbox, combobox, datepicker so on and so forth.

We draw a window. Put some controls. Write procedures for each of the user's event (like click, double click etc).

Take up your smallest project, may be having a single screen. Convert that into GUI based one. You can easily catch up the speed.

East or West HMG is the Best.South or North HMG is worth.
...the possibilities are endless.

If you read the blog Raumi75 friend suggest a package to use the project manager is generally called IDE (integrated development environment), this IDE is in c:\hmg.3.1.1\ide\ide.exe of HMG installation.
create you a direct access to the desktop of your operating system to have on hand when needed.

1) then doubleclick on the Access to open the IDE and to work with.

hmg.png (237.4 KiB) Viewed 1414 times

2) on the menu choose "File", "Open Project" or just press the "F2", navigate to where the file is decompressed to send you this file has to be unzipped in c:\ekomp when it enters the folder is a file called ekomp.hbp, shall select this file and open the project.

3) and can work with your project, you can open the file .Prg with just doubleclick on the tab "Module", "Project Browser" it will open the default editor Notepad + +.

4) and can work with your project, you can modify the form that contains all the controls you need, this is the main form in your application, you can have more forms if necessary, to modify the current form only has to doubleclick "ekomp.fmg" in the tab "Form".

HMGforum.png (104.17 KiB) Viewed 1414 times

as you become familiar with the IDE as Rathinagiri friend says you can create a simple project and thus learn working with HMG.
remember that in the IDE has the reference manual HMG selecting the "HELP MENU", "Reference HMG".
your browser will open in the reference manual, read "BASIC" to understand everything about HMG.