Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

boolean in a string use another language

Posted on 2004-10-13
3
Medium Priority
?
227 Views
Last Modified: 2011-04-14
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
0
Comment
Question by:weeb0
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 32

Accepted Solution

by:
Erick37 earned 500 total points
ID: 12301702
Have a look here:

FIX: Visual Basic 6.0 Booleans are Coerced to Localized Strings
http://support.microsoft.com/default.aspx?scid=kb;EN-US;216379
0
 
LVL 32

Expert Comment

by:Erick37
ID: 12301722
Since you cannot change the code, you can change the default language of the computer to English.

Hope it helps!
0
 
LVL 1

Author Comment

by:weeb0
ID: 12306906
Thank you,

   HUmmmm.... Stupid microsoft software ...
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…
Suggested Courses

670 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question