Re: How to locate errors when changing language
- From: nop90 <bjones_calif@xxxxxxxxx>
- Date: Sun, 26 Jun 2005 13:35:58 GMT
The errors are in the IDE. Not sure if they are in the runtime of
not...havent got that far.
Yes you are correct the errors are related to the font size. I looked at
the form via notepad and the erroring lines are like this...
BeginProperty Font
Name = "Arial"
Size = 8.25 <========= error line number
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Its the 8.25 causing the error when I set the language to Dutch
Netherlands. If I change it to 8...then no error.
What is the best way to fix these errors? Edit every form and try to find
all the odd sizes and change to even sizes? That sounds messy, but will
work. I am afraid I will miss one. I already found a case where the size
was 9.75, change it to 10..fixed that one.
Also weird is the error seems to show only once on initial load of some
forms...then might not show again on second load.
What is the best way to handle all these font size problems?
Thanks for the help!
"Mark Yudkin" <myudkinATcompuserveDOTcom@xxxxxxxxx> wrote in
news:#VoiHbieFHA.3620@xxxxxxxxxxxxxxxxxxxx:
> I was unaware there was such a thing as English Netherlands (it's
> definitely not available on my system). Are you sure this is a legal
> combination on the machines that are causing your problems?
>
> Assuming you meant Dutch (Netherlands):
>
> Usual cause is change between decimal comma and decimal point. Usually
> also hits form sizes too. Although you say you're using 8 point, if
> you look you'll priobably find it's 7.8 or something equally silly.
> For reasons known only to MS, these figures are singles, not longs.
>
> Typical approaches:
> 1) use CLng to get to long
> 2) use on error to "recover" by ignoring
> 3) do your own string conversion (GetSetting, SaveSetting)
>
.
- Follow-Ups:
- Re: How to locate errors when changing language
- From: Rick Rothstein
- Re: How to locate errors when changing language
- References:
- How to locate errors when changing language
- From: nop90
- Re: How to locate errors when changing language
- From: Mark Yudkin
- How to locate errors when changing language
- Prev by Date: Re: How do you set the taskbar text
- Next by Date: Re: New database squence number & locking info
- Previous by thread: Re: How to locate errors when changing language
- Next by thread: Re: How to locate errors when changing language
- Index(es):
Relevant Pages
|