"si***********@yahoo.com" <si***********@yahoo.com> wrote in
news:11*********************@y43g2000cwc.googlegro ups.com:
Hi,
I know what the ASCII Character Codes are for the 2nd and 3rd powers in
VB.NET but I can't find the 6th power anywhere - does anyone know what
it might be or if it even exists?
Joy
So it's not ascii lol.
Dim l As New Label
l.Text = "Unicode char Superscript six: " & ChrW(&H2076)
l.Font = New Font("Arial Unicode MS", 10.0F)
l.AutoSize = True
Me.Controls.Add(l)
I found the &H2076 code for the 6 on
http://www.unicode.org/charts/PDF/U2070.pdf
though you can try in word: insert->character and scroll through the pages
of chars until you get the one you want.
ChrW will return the unicode char. You chould also do:
Convert.ToChar(&H2076S)
The default font used on the label control doesn't have the superscript 6,
It displayed a small square instead. So I used a unicode font...