How do you underline a string in VB.net?

brainwrinkle

Member
Jul 26, 2005
82
0
0
Well, I want to underline a string in VB.net 2003, and i don't know how. Also, Google has been oddly unhelpful.

Yes, I know, my VB.net skills are lacking. Give me a break. I'm just in high school.
 

DaveSimmons

Elite Member
Aug 12, 2001
40,730
670
126
Depending on the control, & or setting its font to an underlined font, or for a rich text box selecting and changing the style of a section of text.

For setting a RTF or HTML control from a buffer/file you'd include the right \tag or < tag > in the content, e.g. < u > under < /u >