none
How do I show musical notation in VB 2012?

    Question

  • Specifically the flat symbol.

    So far I believe one code is character code of (266D)
    Another might be &#9837

    If either of these is correct, I still don't know how to write the code.

    Sunday, April 09, 2017 6:22 AM

Answers

  • Specifically the flat symbol.

    It depends on the font.  For instance, if you set the text box font to MS Reference Sans Serif then you can use

    TextBox1.Text = ChrW(&H266D) & ChrW(&H266E) & ChrW(&H266F)

    Other fonts might use different codes.

    • Marked as answer by GarySutcliff Sunday, April 09, 2017 7:11 AM
    Sunday, April 09, 2017 6:42 AM

All replies

  • Specifically the flat symbol.

    It depends on the font.  For instance, if you set the text box font to MS Reference Sans Serif then you can use

    TextBox1.Text = ChrW(&H266D) & ChrW(&H266E) & ChrW(&H266F)

    Other fonts might use different codes.

    • Marked as answer by GarySutcliff Sunday, April 09, 2017 7:11 AM
    Sunday, April 09, 2017 6:42 AM
  • Thanks, works like a charm.....

    Sunday, April 09, 2017 7:11 AM