Inserting Greek Symbols Into Display Labels-VBForums
Results 1 to 13 of 13

Thread: Inserting Greek Symbols Into Display Labels

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    30

    Inserting Greek Symbols Into Display Labels

    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

  2. #2
    Fanatic Member x-ice's Avatar
    Join Date
    Mar 2004
    Location
    UK
    Posts
    671

    Re: Inserting Greek Symbols Into Display Labels

    Quote Originally Posted by madwolf32
    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 them

  3. #3
    Addicted Member Piller's Avatar
    Join Date
    Oct 2004
    Location
    california
    Posts
    177

    Re: Inserting Greek Symbols Into Display Labels

    Try setting Font to "Symbols" then make a Capital W.
    Are we alive or just breathing?

  4. #4

  5. #5

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    30

    Re: Inserting Greek Symbols Into Display Labels

    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

  6. #6
    Addicted Member Piller's Avatar
    Join Date
    Oct 2004
    Location
    california
    Posts
    177

    Re: Inserting Greek Symbols Into Display Labels

    Try using multipul labels for Greek and non-Greek letters.
    Are we alive or just breathing?

  7. #7

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    30

    Re: Inserting Greek Symbols Into Display Labels

    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

  8. #8

  9. #9
    Addicted Member Piller's Avatar
    Join Date
    Oct 2004
    Location
    california
    Posts
    177

    Re: Inserting Greek Symbols Into Display Labels

    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?

  10. #10
    PowerPoster RhinoBull's Avatar
    Join Date
    Mar 2004
    Location
    New Amsterdam
    Posts
    24,133

    Re: Inserting Greek Symbols Into Display Labels

    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:
    1. Private Sub Command1_Click()
    2.     With Label1
    3.         .AutoSize = True
    4.         .FontName = "Symbol"
    5.         .FontSize = 16
    6.         'K = chr(75)
    7.         'M = chr(77)
    8.         'looks like G = chr(86)
    9.         'Omega = chr(87)
    10.         .Caption = Chr(75) & ", " & Chr(77) & ", " & Chr(86) & ", " & Chr(87)
    11.     End With
    12. End Sub

  11. #11

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    30

    Re: Inserting Greek Symbols Into Display Labels

    thanks for the help guys i really appreciate it

  12. #12

  13. #13

    Thread Starter
    Junior Member
    Join Date
    Feb 2005
    Posts
    30

    Re: Inserting Greek Symbols Into Display Labels

    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Featured


Click Here to Expand Forum to Full Width

Survey posted by VBForums.