Page 9 of 16

Re: HMG 3.1.1

Posted: Wed Feb 06, 2013 3:37 pm
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.

Re: HMG 3.1.1

Posted: Wed Feb 06, 2013 4:23 pm
by Rathinagiri
It will work perfect in Win 8 too.

Re: HMG 3.1.1

Posted: Wed Feb 06, 2013 5:28 pm
by CarlosRD
rathinagiri wrote:It will work perfect in Win 8 too.
thank you rathinagiri.

Re: HMG 3.1.1

Posted: Wed Feb 06, 2013 10:56 pm
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     

Re: HMG 3.1.1

Posted: Thu Feb 07, 2013 12:47 am
by CarlosRD
hi all!!!

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

Re: HMG 3.1.1

Posted: Thu Feb 07, 2013 12:56 am
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

Re: HMG 3.1.1

Posted: Thu Feb 07, 2013 1:15 am
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

Re: HMG 3.1.1

Posted: Thu Feb 07, 2013 2:21 pm
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

Re: HMG 3.1.1

Posted: Thu Feb 07, 2013 3:33 pm
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

Re: HMG 3.1.1

Posted: Thu Feb 07, 2013 3:34 pm
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