I am happy to present my application support for the use of HMG-IDE.
The purpose is to make every file with .hbp extension open as default by the IDE.
This can be done in two ways:
1. Via Windows Explorer, double-click on any .hbp file.
2. Type in the command line: Call_ID <FileName> (can be with or without file extension).
Both will call the IDE that has been configured to open, so if you have multiple HMG installations.
But before going into detail, I would like to start over from the start explaining your work environment.
And I'll start by explaining how to set up and use the tools to make programming performance easier and faster.
Each application taht I use as HMG Toools, has a purpose different from the other but everyone has a certain flexibility in its configuration in order to meet each style of programming. But in this topic, I will basically focus on using IDE.
To begin with I tell you that I have a folder called "HMGTools" in the root of my disk.
This way I concentrate all the applications to support programming in HMG, without having to change anything even installing new versions of HMG.
I already have ViewError.exe that is used to view the line where the error occurs during compilation, opening Notepad++ (or your favorite editor or grid). But this is explained deeply in this topic (viewtopic.php?f=10&t=4110#p38692). But it is here in this folder that we will download and store Call_IDE.exe.
The first time you run Call_IDE.exe, it will detect this automatically by the application and force it to run with administrator rights when the application requires it. So it will show this first message:
Therefore, this application will present several forms of execution and when needs administrator rights, you will have two options:
Allow the application to guide you as being executed, if as a user / administrator or else you must force to be executed from the begining as administrator.
1. You can start running by right-clicking through Windows Explorer and selecting "Run as Administrator".
The application will strictly use to be executed as administrator only when you need to make these changes:
- "Set IDE for HBP extension file as associated program"
- "Make this program executable from everywhere (Prompt and Explorer)"
However, if after setting this application and deciding to change the same storage location that the application is run at another time, the application will detect that it is the first time in this new location and will request the configuration again.
2. Allow the application to request authorization to perform task with administrator rights when it finds it necessary. The rest of the options do not require "elevated rights".
After ensuring the use of administrator privileges (if necessary) when replying to this UAC message:
You need to leave the first checkbox option be selected at least, then files with ".hbp" extension will be associated with this application's call and make the appropriate change in your Windows REGISTER:
You must leave the first option of CheckBox selected, at least. Files with a ".hbp" extension will be associated with the call of this application and will make the appropriate change in your Windows REGISTER:
The second CheckBox option is to make sure that the application wherever it is accesses at the command line.
It is recommended to leave it selected.
You can see that the "Confirm" button will have the Shield icon to denote that it is running with administrator rights.
After confirming with the CheckBoxes selected, you will ensure the use of the application.
And these options will always be available if you want to uninstall the IDE support application.
But before confirming, you should also confirm which is the IDE that you will use to use in the version of HMG installed and other preferences that I will explain below.
Another purpose that Call_IDE has is that it also serves to create new projects and with the style that we prefer. Of course always calling the IDE, but first will check your preferences.
Relying on pre-existing project files or not.
By optionally creating the .FMG (form file) or by creating the .PRG with the screen pattern either through the TEMPLATE file or not. And still in the ANSI/UNICODE standard selected in your preference.
Let's say you want to create a new project on the command line (before you create a new folder for this).
You will type for example:
You do not need to use quotation marks in the parameter unless it contains special characters such as blank space in the file name and folder. Otherwise, containing blank spaces, will be interpreted as multi-parameter arguments.
Once you have called the Call_IDE, there will surely appear an OptionBox like this:
Composed generally by the items:
- <Project Name>.prg
- And all files in the same folder that have the "MAIN module" in their PRG content.
In the TEMPLATE.prg file that can be accessed using the "Preferences" button, it contains two variables between tags (sign of less than "<" or sign of greater than ">") as follows:
Not always the two tags have the same value and these are important for the creation of the PRG main file.
When you confirm the use of Call_IDE and restart your computer, the .hbp file icons will appear like this:
To change any application settings, simply run without any parameters that will enter the Setup mode.
You can access the "Recent" files on the minimized icon in TaskBar:
I hope you enjoy it, it is very useful and if you can contribute with some idea that can be implemented, welcome.
I make this contribution even though I know I will not win "my precious" as the character Sméagol (Gollum in The HOBBIT film).
<Project pack file was removed cause there is a newest version ahead this topic.>
Here's in Spanish:
OFF TOPIC message: (Added later. My clarification to those who found this issue bad.)
I'm not here for the rates, but rating a post is a good way for me to know how much I helped.
To give it a "likes" on button when the forum system returns to normal and you think it is warranted, It's to be able to give and receive some kind of feedback on discussion posts.