HMG 3.1.1

HMG Unicode versions 3.1.x related

Moderator: Rathinagiri

User avatar
CarlosRD
Posts: 63
Joined: Thu Jan 31, 2013 9:20 pm
Location: Orizaba, México

Re: HMG 3.1.1

Post by CarlosRD »

rathinagiri, esgici, daniel, thank you for your welcomes:

i have a question:
i am developing a specific aplication to my job with HMG and we are using windows 7 and everithing goes on with HMG, but in a few days we are going to translate to windows 8.
is any problem with HMG and windows 8?, is there some modifications to my prgs or configuration windows 8 system?

i will appreciate your comments.
Todo en el Nombre de Jesus / All in the name of Jesus
Carlos RD
User avatar
Rathinagiri
Posts: 5480
Joined: Tue Jul 29, 2008 6:30 pm
DBs Used: MariaDB, SQLite, SQLCipher and MySQL
Location: Sivakasi, India
Contact:

Re: HMG 3.1.1

Post by Rathinagiri »

It will work perfect in Win 8 too.
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
User avatar
CarlosRD
Posts: 63
Joined: Thu Jan 31, 2013 9:20 pm
Location: Orizaba, México

Re: HMG 3.1.1

Post by CarlosRD »

rathinagiri wrote:It will work perfect in Win 8 too.
thank you rathinagiri.
Todo en el Nombre de Jesus / All in the name of Jesus
Carlos RD
User avatar
danielmaximiliano
Posts: 2625
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG 3.1.1

Post by danielmaximiliano »

a / To Claudio Soto :

Hola Claudio, en Crimson editor utilizo "Document" "Encoding Type" "UTF-8 with BOM", al compilar la aplicacion con HMG.3.1.1 me encuentro que los controles TextBox funcionan erraticamente.
utilizo "Document" "Encoding Type" "Ansi" y comento C:\hmg.3.1.1\SOURCE\SET_COMPILE_HMG_UNICODE.ch

Code: Select all

/* 
 If defined        COMPILE_HMG_UNICODE   --->  HMG is compiled for UNICODE
 If NOT defined    COMPILE_HMG_UNICODE   --->  HMG is compiled for ANSI
*/

//#define COMPILE_HMG_UNICODE
recompilo la aplicacion y funciona perfecto..
donde esta mi error al intentar utilizar HMG.3.1.1 con las instalación original.

Hello Claudio, in Crimson editor use "Document" "Encoding Type" "UTF-8 with BOM" to compile the application with which I am HMG.3.1.1 TextBox controls work erratically.
use "Document" "Encoding Type" "Ansi" and commented C: \ hmg.3.1.1 \ SOURCE \ SET_COMPILE_HMG_UNICODE.ch

Code: Select all

/* 
 If defined        COMPILE_HMG_UNICODE   --->  HMG is compiled for UNICODE
 If NOT defined    COMPILE_HMG_UNICODE   --->  HMG is compiled for ANSI
*/

//#define COMPILE_HMG_UNICODE
recompile the application and it works perfect ..
where is my error when trying to use the original installation HMG.3.1.1.
Gmail-2.rar
(142.5 KiB) Downloaded 311 times

Code: Select all

cMailAccount := GetProperty( 'Incomming' , 'cUser' , 'value' ) /*Fail */
cPassword	  := GetProperty( 'Incomming' , 'cPass' , 'value' ) /*Fail */

 IF ( Empty( cMailAccount ) .or. Empty( cMailAccount ) )    
    /* This message displays despite having username and password  */
     MsgExclamation( "Username : " + cMailAccount + chr( 10 ) + ;
                     " or password : " + cPassword + chr( 10 ) + ;
                     " can not be empty ", "Message Attention " )
     Return
 Else     
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
CarlosRD
Posts: 63
Joined: Thu Jan 31, 2013 9:20 pm
Location: Orizaba, México

Re: HMG 3.1.1

Post by CarlosRD »

hi all!!!

somewhere in my aplication, i use an "@...SAY...GET...READ" but it didn't work. why?
Todo en el Nombre de Jesus / All in the name of Jesus
Carlos RD
Leopoldo Blancas
Posts: 388
Joined: Wed Nov 21, 2012 7:14 pm
Location: México

Re: HMG 3.1.1

Post by Leopoldo Blancas »

Hola CarlosRD...

Me atrevo a decir que es necesario que pongas un ejemplo tipico y completo donde ocurre el error, ya que de otra manera seria dificil ayudarte....(o imposible).

De esa manera compilamos tu aplicación y la testeamos y vemos en que funciona mal. Y así podremos sugerir alguna solución, si la hay. Como dicen por aquí el ideoma universal es HMG :)
Saludos
Polo
*------------------------------------------------------------------------------------------------------------------------------

Hello CarlosRD ...

I dare say you have to put a full and typical example where the error occurs, and that otherwise would be difficult to help .... (or impossible).

That way you compile your application and see where we test and malfunctions. And so we can suggest a solution, if any. As they say here is the universal ideoma HMG :)
Regards
Polo
User avatar
danielmaximiliano
Posts: 2625
Joined: Fri Apr 09, 2010 4:53 pm
Location: Argentina
Contact:

Re: HMG 3.1.1

Post by danielmaximiliano »

CarlosRD wrote:hi all!!!

somewhere in my aplication, i use an "@...SAY...GET...READ" but it didn't work. why?
Try :

Code: Select all

#include 'hmg.ch'
Function Main
REQUEST HB_GT_WIN_DEFAULT
SetMode(25,80)
....
You code 
...
return
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*

Saludos / Regards
DaNiElMaXiMiLiAnO

Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
User avatar
Steed
Posts: 433
Joined: Sat Dec 12, 2009 3:40 pm

Re: HMG 3.1.1

Post by Steed »

Hi, all

Something is happen with textbox control, randomly their value is not returned.
See next example:

1- Run prueba.exe
2- Hit Properties button
3- Hit Save Button

Save button execute the next code:
* ~~~~~~~~~~~~~~~~~ *
cTemp:=GetProperty('Win2','Text_1a','Value')
msgbox(alltrim(cTemp)+"x")
* ~~~~~~~~~~~~~~~~~ *
But in a randomly manner the value is not returned, sometimes msgbox shows: "Pruebax"
And sometimes only shows "x"


Attached please find short example

Thanks for your advices

Does anyone could confirm the issue with textbox?
Ed
Attachments
test.PNG
test.PNG (62.05 KiB) Viewed 6230 times
Prueba.rar
(1.37 KiB) Downloaded 277 times
User avatar
CarlosRD
Posts: 63
Joined: Thu Jan 31, 2013 9:20 pm
Location: Orizaba, México

Re: HMG 3.1.1

Post by CarlosRD »

gracias daniel por el tip.

efectivamente, hice funcionar el "read", pero creo que solo funciona para el modo DOS.
estuve leyendo la documentación de setmode(), y lo mejor que puedo hacer es trabajar con setmode(43,132), esto para salvaguardar que funcione en cualquier monitor...
ahora estoy decidiendo en seguir con el avance que ya tengo en ambiente windows, o modificar mis prgs a modo DOS.

saludos y gracias nuevamente...

danielmaximiliano wrote:
CarlosRD wrote:hi all!!!

somewhere in my aplication, i use an "@...SAY...GET...READ" but it didn't work. why?
Try :

Code: Select all

#include 'hmg.ch'
Function Main
REQUEST HB_GT_WIN_DEFAULT
SetMode(25,80)
....
You code 
...
return
Todo en el Nombre de Jesus / All in the name of Jesus
Carlos RD
User avatar
CarlosRD
Posts: 63
Joined: Thu Jan 31, 2013 9:20 pm
Location: Orizaba, México

Re: HMG 3.1.1

Post by CarlosRD »

gracias leopoldo, si debi agregar parte de mi codigo, pero con el tip de daniel, estoy sacando conclusiones. grax otra vez.
Leopoldo Blancas wrote:Hola CarlosRD...

Me atrevo a decir que es necesario que pongas un ejemplo tipico y completo donde ocurre el error, ya que de otra manera seria dificil ayudarte....(o imposible).

De esa manera compilamos tu aplicación y la testeamos y vemos en que funciona mal. Y así podremos sugerir alguna solución, si la hay. Como dicen por aquí el ideoma universal es HMG :)
Saludos
Polo
*------------------------------------------------------------------------------------------------------------------------------

Hello CarlosRD ...

I dare say you have to put a full and typical example where the error occurs, and that otherwise would be difficult to help .... (or impossible).

That way you compile your application and see where we test and malfunctions. And so we can suggest a solution, if any. As they say here is the universal ideoma HMG :)
Regards
Polo
Todo en el Nombre de Jesus / All in the name of Jesus
Carlos RD
Post Reply