What do you actually get?
What typeface (font) are you using?
"Marcel Saucier" <MarcelSaucier@discussions.microsoft.com> wrote in message
news:25AB9B9D-8E37-4E0E-BDF3-48FAD1A5CB3B@microsoft.com...[color=blue]
>I already have tried it... not working...
> --
> Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
> programmer under Windows !
>
>
> "Stephany Young" wrote:
>[color=green]
>> Uummmm... how about ChrW(205), perhaps?
>>
>>
>> "Marcel Saucier" <MarcelSaucier@discussions.microsoft.com> wrote in
>> message
>> news:729381F4-A90C-4686-99B3-A112752787DE@microsoft.com...[color=darkred]
>> > Or knowing the corresponding value of CHR(205) of chart 2 using the
>> > CHRW
>> > function would be so simple ! But how to find out ?
>> > --
>> > Super Basic programmer under DOS since 1983. Absolutely dummy VB.NET
>> > programmer under Windows !
>> >
>> >
>> > "Armin Zingler" wrote:
>> >
>> >> "Marcel Saucier" <MarcelSaucier@discussions.microsoft.com> schrieb
>> >> > Hello, I want to use the above characters codes chart but I dont
>> >> > know how to set the typeface (documentation: The characters that
>> >> > appear in Windows above 127 depend on the selected typeface).
>> >> >
>> >> > For example, when I print the chr(205), I am not getting the one
>> >> > shown in the Chart 2 list...
>> >> >
>> >> > A step by step approach will be appreciated (in a windows form
>> >> > application).
>> >>
>> >>
>> >> You convert a character code (like 205) to a char by using the
>> >> GetString
>> >> function of the System.Text.Encoding class. As Strings are stored as
>> >> Unicode, the character code must be converted from the source code
>> >> page
>> >> to
>> >> Unicode. There are some predefined Encoding objects, like
>> >> System.Text.Encoding.Default or System.Text.Encoding.ASCII (7 bit
>> >> only!).
>> >> If
>> >> you need a different encoding, create it by a call to
>> >> System.Text.Encoding.GetEncoding. Example:
>> >>
>> >> Imports System.Text
>> >> '...
>> >>
>> >> Dim en As Encoding
>> >> Dim b(0) As Byte
>> >> Dim s As String
>> >>
>> >> en = Encoding.GetEncoding(850) 'Westeuropean (DOS)
>> >> b(0) = 205
>> >> s = en.GetString(b)
>> >>
>> >>
>> >> I guess you're referring to this one:
>> >>
http://msdn.microsoft.com/library/de...es_chart_2.asp
>> >>
>> >> That's probably code page 437 ("OEM USA").
>> >>
>> >>
>> >> Armin
>> >>
>> >>[/color]
>>
>>
>>[/color][/color]