I' m having problem converting boolean values with vb.net 2003 CBOOL
function. On english windows XP SP2 is working ok but on any other language
of windows i get this error:
Error: System.InvalidCastException: Cast from string "Neresnično" to type
'Boolean' is not valid. ---> System.FormatException: Input string was not in
a correct format.
at Microsoft.VisualBasic.CompilerServices.DoubleType.Parse(String Value,
NumberFormatInfo NumberFormat)
at Microsoft.VisualBasic.CompilerServices.BooleanType.FromString(String
Value)
any sugestions how ti fix this.

Signature
vb.net developer
Aldo Donetti [MS] - 25 Oct 2006 02:12 GMT
I believe you are not parsing "true"/"false" but the equivalent localized version?
Personally I would not rely on UI elements to determine the logic of my application.
Aldo
-- This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
| Thread-Topic: international boolean values
| thread-index: Acb3dLNkpT5bbLj1R4qA8gplJeqcWA==
[quoted text clipped - 32 lines]
|
| any sugestions how ti fix this.