A
ARoy
I am still fighting with Fonts not showing correctly for extended ASCII
characters.
My VB6 application needs to display characters for other Languages (ie üÜ in
German).
I am not changing the regional settings for Windows (still English - USA).
It works correctly under XPPro, but the behavior is bizaar under XPe.
Some objects in the project will display the text correctly (ie.
RichTextBox, CommandButton).
Some objects show strange characters in place of the Foreign characters (ie.
Label, PictureBox).
All of these objects are using the same Font (MS Sans Serif).
I wrote a small VB6 application just to explore this issue.
The test app allows me to select different fonts at run time.
It then applies that Font to a sample of various objects.
Most Fonts will display correctly at first (ie. Arial, Courier, Microsoft
SS, Tahoma, Times NR).
Some Fonts will not display correctly on some of the objects (ie. David,
Miriam, MS Sans Serif).
After selecting any one of these Fonts, the previous set of Fonts misbehave
as well.
Then there are Fonts that allways display correctly (ie. MS Serif, Verdana).
After selecting one of these Fonts, the first set of Fonts display correctly
as well.
In addition, not all of the objects are affected by the misbehaved Fonts.
The TextBox, Label and PictureBox objects are affected.
The RichTextBox and CommandButton objects are not affected.
The CheckBox and OptionButton objects are not affected if the
Style=Standard.
But if the Style=Graphical, they suffer.
All of the objects are using the same StdFont object (ie. Set TextBox1.Font
= MyFont).
All of this works correctly under XPPro.
Any ideas?
Andrew
characters.
My VB6 application needs to display characters for other Languages (ie üÜ in
German).
I am not changing the regional settings for Windows (still English - USA).
It works correctly under XPPro, but the behavior is bizaar under XPe.
Some objects in the project will display the text correctly (ie.
RichTextBox, CommandButton).
Some objects show strange characters in place of the Foreign characters (ie.
Label, PictureBox).
All of these objects are using the same Font (MS Sans Serif).
I wrote a small VB6 application just to explore this issue.
The test app allows me to select different fonts at run time.
It then applies that Font to a sample of various objects.
Most Fonts will display correctly at first (ie. Arial, Courier, Microsoft
SS, Tahoma, Times NR).
Some Fonts will not display correctly on some of the objects (ie. David,
Miriam, MS Sans Serif).
After selecting any one of these Fonts, the previous set of Fonts misbehave
as well.
Then there are Fonts that allways display correctly (ie. MS Serif, Verdana).
After selecting one of these Fonts, the first set of Fonts display correctly
as well.
In addition, not all of the objects are affected by the misbehaved Fonts.
The TextBox, Label and PictureBox objects are affected.
The RichTextBox and CommandButton objects are not affected.
The CheckBox and OptionButton objects are not affected if the
Style=Standard.
But if the Style=Graphical, they suffer.
All of the objects are using the same StdFont object (ie. Set TextBox1.Font
= MyFont).
All of this works correctly under XPPro.
Any ideas?
Andrew