I am working on a resistance calculator for a class, and i need to insert the greek character omega into the final value display, the professor didnt tell us how to and i cant seem to find how to do it anywhere.
thanks for any help
I am working on a resistance calculator for a class, and i need to insert the greek character omega into the final value display, the professor didnt tell us how to and i cant seem to find how to do it anywhere.
thanks for any help
i dont think you can insert themOriginally Posted by madwolf32
Try setting Font to "Symbols" then make a Capital W.
Are we alive or just breathing?
Yes, there are few ways actually:
- use small icon
- use resource file with custom string table for Greek alphabet and label with FontName = "Symbol"
Open attachments to see sample project.
Microsoft MVP - Visual Basic 2006-2013
Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database .
Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent .
The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array
Visual Basic 6.0 On-Line Documentation . Connection Strings
Thanks a lot for the help and it works but now ive got another problem, when i want to display the G for giga it is now greek , its the only letter giving me problems
Try using multipul labels for Greek and non-Greek letters.
Are we alive or just breathing?
the professor wants us to use the same label for both numbers the letters K (kilo) M(mega) and G(giga) as well as the omega character
VB label control doesn't support multiple alphabets ... so you can tell that to your professor and he doesn't believe you - send him over to us.![]()
Microsoft MVP - Visual Basic 2006-2013
Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database .
Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent .
The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array
Visual Basic 6.0 On-Line Documentation . Connection Strings
Try calling up some of your people that are in your class and ask if they did it and can help you and if the didnt do it then have a talk with your professor about it.
Last edited by Piller; Feb 20th, 2005 at 09:11 PM.
Are we alive or just breathing?
Let's get back to serious for a moment, shall we.
Characters K and M are part of "Symbol" font family so that's not a problem. "Problem" is "G" character which "Symbol" doesn't have. You may try to substitute it with chr(86) but I don't know if that would work:
VB Code:
Private Sub Command1_Click() With Label1 .AutoSize = True .FontName = "Symbol" .FontSize = 16 'K = chr(75) 'M = chr(77) 'looks like G = chr(86) 'Omega = chr(87) .Caption = Chr(75) & ", " & Chr(77) & ", " & Chr(86) & ", " & Chr(87) End With End Sub
Last edited by RhinoBull; Feb 20th, 2005 at 09:28 PM.
Microsoft MVP - Visual Basic 2006-2013
Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database .
Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent .
The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array
Visual Basic 6.0 On-Line Documentation . Connection Strings
thanks for the help guys i really appreciate it
So, did it work for you somehow or not ???
Microsoft MVP - Visual Basic 2006-2013
Why VB clears the clipboard on startup and how to avoid it? . Filtering Arrays . Save File To Database . Extract File From Database .
Extract picture from database without using hard drive . Change Menu BackColor . How to use MS Flexgrid . Make Frame Transparent .
The Easiest Way to Create an NT Service With VB6 . How to comment blocks of code in VB5 and VB6 . How to find and replace missing members of control array
Visual Basic 6.0 On-Line Documentation . Connection Strings
what about using the hex code for the letter omega , using a standard font like arial, because omega is in the arial it just doent have a keystroke but it has a unicode hex or ascii hex number