You "cannot" make bold a part of text for textbox, but you can make the entire text bold in textbox like this:
TextBox1.Font = New Font(TextBox1.Font, FontStyle.Bold)
But, in RichTextBox, it provides a SelectionFont property and you can perform a partial formatting like this:
' Make selected text bold programmatically:
RichTextBox1.SelectionFont = New Font(RichTextBox1.Font, FontStyle.Bold)
...by instantiating and assigning a new font object with FontStyle.Bold argument.
HTH.
Best regards, Saygılarımla, Onur Güzel
Yazgeliştir Forumları'ndayım.
Microsoft Haber Grupları Profilim (VB.NET)