Link to home
Start Free TrialLog in
Avatar of weeb0
weeb0

asked on

boolean in a string use another language

Hi,

I have a problem,

as you can see in my comment, depending of the way I write a boolean in a string, the language of what is written change.  The problem I have, it's on my workmate's computer there is no problem.  The language of the string written is english.  I can't modify the code.  

So, I know how to debug the code, but do somebody can tell me advice to know how to look

Dim a As Boolean
Dim x As String

a = True

x = "hello " & CStr(a) ' -> hello true
x = "hello " & a       ' -> hello vrai


thank you
ASKER CERTIFIED SOLUTION
Avatar of Erick37
Erick37
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Since you cannot change the code, you can change the default language of the computer to English.

Hope it helps!
Avatar of weeb0
weeb0

ASKER

Thank you,

   HUmmmm.... Stupid microsoft software ...