Page 2 of 4

Re: Viva HMG !!!

Posted: Tue Feb 18, 2014 8:23 am
by serge_girard
Andrés,


I have XP and Windows7 and both (32) give this error via errorlog.htm.


Greetings, Serge

Re: Viva HMG !!!

Posted: Tue Feb 18, 2014 9:23 am
by dhaine_adp
Hi Serge,

Try replacing the function STR() with HB_NTOS() on the offending line number. I tried it with Windows 7 64 and it works after I replaced the it.


Regards,

Danny

Re: Viva HMG !!!

Posted: Tue Feb 18, 2014 9:31 am
by serge_girard
Danny,

I don't have the source!
Where can I find it?

Serge

Re: Viva HMG !!!

Posted: Tue Feb 18, 2014 10:39 am
by esgici
dhaine_adp wrote:Hi Serge,

Try replacing the function STR() with HB_NTOS() on the offending line number. I tried it with Windows 7 64 and it works after I replaced the it.

Regards,

Danny
HB_ValToExp() may be better

Happy HMG'ing :D

Added later :

or HB_ValToStr()

Re: Viva HMG !!!

Posted: Tue Feb 18, 2014 11:10 am
by danielmaximiliano
Date:17/02/2014 Time: 14:40:12
Error BASE/1099 Argument error: STR

Called from STR(0)
Called from SYSINVENT(264)
Called from (b)MAIN(50)
Called from _DOCONTROLEVENTPROCEDURE(5520)
Called from EVENTS(1623)
Called from _DOMESSAGELOOP(0)
Called from _ACTIVATEWINDOW(5188)
Called from MAIN(103)
Windows 7 Home Premiun 64

Re: Viva HMG !!!

Posted: Tue Feb 18, 2014 1:19 pm
by dhaine_adp
Serge,

I'm talking about this code posted by Andy before. I'm sorry, Serge, I didn't checked the attached IS.rar (I assumed that the source code is included). Anyway if you try the first SysInvent from the linked topic above, you will find the same problem and it will be the same solution or the one recommended by Mr. Esgici.

Oopps... assumptions sometimes the mother of eff-ups. Sorry Bro., I don't have the code either :oops:

Danny

Re: Viva HMG !!!

Posted: Tue Feb 18, 2014 4:50 pm
by esgici
Hi friends,

please don't worry ;)

Here working version of sample sent by Andrés ( from here )
System Inventory by Andres Gonzales
System Inventory by Andres Gonzales
SysInventByAndresGonzales.PNG (103.99 KiB) Viewed 5136 times
SysInvent.zip
System Inventory by Andrés Gonzales
(1.96 KiB) Downloaded 377 times
... and, once again,

Viva HMG :D

Re: Viva HMG !!!

Posted: Tue Feb 18, 2014 5:13 pm
by Javier Tovar
Thanks Mr. Esgici,

Now run smoothly!

regards

Re: Viva HMG !!!

Posted: Tue Feb 18, 2014 5:58 pm
by serge_girard
Thanks Esgici !

Serge

Re: Viva HMG !!!

Posted: Tue Feb 18, 2014 6:03 pm
by serge_girard
And of course, Andrés !

Waiting for the latest version !

Serge