boolean in a string use another language


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
Who is Participating?
Erick37Connect With a Mentor Commented:
Have a look here:

FIX: Visual Basic 6.0 Booleans are Coerced to Localized Strings;EN-US;216379
Since you cannot change the code, you can change the default language of the computer to English.

Hope it helps!
weeb0Author Commented:
Thank you,

   HUmmmm.... Stupid microsoft software ...
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.