Hello,
Is it possible to insert greek characters (ex: rho,sigma, pi etc.) and mathematical symbols in a text
Corollary: how to display an exponant
These things can be done easily with the math editor in Words but I have not found the solution in VB editor.
Thanks
Chris

how to insert greek characters and mathematical symbols into textes?
Jane Wang
Start a new project and add a combobox, then paste the following code.
For x = 1 To 65535
ComboBox1.Font = New Font("Arial Unicode MS", 15)
ComboBox1.Items.Add(ChrW(x) & " = " & x.ToString("X4"))
Next
William
VB Programmer wanna-be
Michael P
Thank you William
With a little patience I found my greek characters.
I finished using them this way:
Dim rho As Char = ChrW(Convert.ToInt32("03c1", 16))etc. but you know certainly better than me what to do after...
A last point: How can I display a number as the exponant part of the power
If there is a solution in the unicode char set , then I missed it!
I thank you for you help
Christ
Rob Jones
Hi Simeao,
As I was very happy with William's answer, I 'appreciate your answer too.
The first URL gives immediatly a view of the symbols and it is therefore easier to work with.
By the way, do you have an idea on how to display an exponent
Best Regards,
Chris
Justin Cao
The character table is the ASCII Character Codes Chart 2
in http://msdn2.microsoft.com/en-us/library/9hxt0028(VS.80).aspx
alfa is Char(224)
And the Char use is in http://msdn2.microsoft.com/en-us/library/613dxh46.aspx
Simeao (Pelotas - RS - Brasil)
BogdanM
This should create the table in http://msdn2.microsoft.com/en-us/library/9hxt0028(VS.80).aspx.
For x = 128 To 255
ComboBox1.Font = New Font("Arial Unicode MS", 15)
ComboBox1.Items.Add(ChrW(x) & " = " & x.ToString("X4"))
Next
How to print that table in a Form1 and in a printer using VB2005 Express Edition
When a list on a Form, I can test the Font type.
When I send it to a printer, I can test if the printer is the correct model.
Thanks.
Simeao (simeaogomes@brturbo.com.br)
Khento
Exponent: 123
The 12 and the 3 is in size 14: in Word (Format / Font), I only change the font (sobrescrito, in portuguese). In VB this works too.
Simeao
gravenk
I admit that changing the font will do the trick.
But how do I do this
VB doesn't provide with the Format function as Word does.
If I could find a subscript (I guess it is equivalent to sobrescrito in portuguese) it would be great...)
Can you please precise in more details how do you do this in a VB source code
Best Regards
Chris