Search found 113 matches

by edk
Wed Jul 19, 2017 10:57 pm
Forum: HMG Tutorials and Tips
Topic: How do i call a procedure
Replies: 14
Views: 344

Re: How do i call a procedure

You can also add all .prg files references into .hbp project file and compile to one exe. All functions and procedures will be included.
by edk
Wed Jul 19, 2017 8:29 pm
Forum: HMG Tutorials and Tips
Topic: How do i call a procedure
Replies: 14
Views: 344

Re: How do i call a procedure

@ edk: your suggestion doesn't work. Are there any settings to be done to make it work? Strange, this code work like a charm: #include "hmg.ch" Function Main DEFINE WINDOW Win_1 ; AT 0,0 ; WIDTH 400 ; HEIGHT 200 ; TITLE 'Tutor 02 - Property Test' ; MAIN DEFINE MAIN MENU POPUP "First Popup" ITEM 'DO...
by edk
Wed Jul 19, 2017 1:12 pm
Forum: HMG Tutorials and Tips
Topic: How do i call a procedure
Replies: 14
Views: 344

Re: How do i call a procedure

You can "do procedure" in the same way as call function.

Code: Select all

ITEM 'Change Window Title' ACTION proc1() &&on select this do proc1
ITEM 'Retrieve Window Title' ACTION proc2() &&on select this do proc2
by edk
Fri Jul 07, 2017 9:45 am
Forum: Issues and Discussions related to Harbour
Topic: Uncompress
Replies: 3
Views: 258

Re: Uncompress

And here is another example using the progress bar.
by edk
Thu Jul 06, 2017 4:54 pm
Forum: HMG Unicode version
Topic: Compilation error on Win XP PC
Replies: 9
Views: 416

Re: Compilation error on Win XP PC

It's on hmg 3.4.4? You have compiled with debugger. Try without debugger.
by edk
Thu Jul 06, 2017 1:40 pm
Forum: HMG General Help
Topic: Read data from usb port USB001
Replies: 8
Views: 383

Re: Read data from usb port USB001

Unfortunately, the Win32_PnPEntity class does not return the device name of product. As I wrote, I'm not an expert. I was looking for solutions to read the names, but it returns me the driver manufacturer's nickname, in this case it's Microsoft. As you wrote, you can recognize your device through VI...
by edk
Thu Jul 06, 2017 6:31 am
Forum: HMG Unicode version
Topic: Compilation error on Win XP PC
Replies: 9
Views: 416

Re: Compilation error on Win XP PC

Try to use "Procedure main" instead "Function main()". :?:
by edk
Wed Jul 05, 2017 2:19 pm
Forum: General
Topic: Desde modo consola mostrar ventana gráfica
Replies: 6
Views: 212

Re: Desde modo consola mostrar ventana gráfica

Welcome Adrian in our community.

Here is an example of displaying forms in console mode.
ConsoleWithPicture.7z
(1014.62 KiB) Downloaded 33 times
by edk
Wed Jul 05, 2017 1:05 pm
Forum: HMG General Help
Topic: Read data from usb port USB001
Replies: 8
Views: 383

Re: Read data from usb port USB001

Hello, I need to disable the reading of 4 USB barcode reader by keyboard mode reading the data through the USB direct port individually Reader 1 = USB001 Reader 2= USB002 Reader 3 = USB003 Reader 4 = USB004 With harbour is possible. Hi, I'm not sure if the USB barcode reader is recognized as a HID ...
by edk
Fri Jun 30, 2017 8:33 am
Forum: General
Topic: Librerías externas PKWARE, SUBNTX
Replies: 2
Views: 118

Re: Librerías externas PKWARE, SUBNTX

Hello, a long time ago, I used the "IZArc Command Line Add-On" for PKWARE archives on 64-bit Windows (download here: http://www.izarc.org/downloads).
Once installed will be two programs: IZARCC.exe - for compression; IZARCE.exe - for extraction. Command syntax is a bit different than PKWARE.