Improve company productivity with a Business Account.Sign Up

x
?
Solved

vb textbox bold font

Posted on 2006-06-23
3
Medium Priority
?
1,444 Views
Last Modified: 2013-12-03
Hi,
Is there a way to bold some words in a sentence that go into a text box?

I want to bold the first two words.


            txtMatrixDescription.Text = "BOLD TEXT, regular text"
0
Comment
Question by:jackjohnson44
  • 2
3 Comments
 
LVL 71

Expert Comment

by:Éric Moreau
ID: 16969957
Hi jackjohnson44,

Not using a TextBox. You need to use a RichTextBox.

Cheers!
0
 

Author Comment

by:jackjohnson44
ID: 16969974
if my textbox was a rich text box, how would the above code be changed to bold the "BOLD TEXT"?

Thanks
0
 
LVL 71

Accepted Solution

by:
Éric Moreau earned 1500 total points
ID: 16970039
0

Featured Post

Easily Design & Build Your Next Website

Squarespace’s all-in-one platform gives you everything you need to express yourself creatively online, whether it is with a domain, website, or online store. Get started with your free trial today, and when ready, take 10% off your first purchase with offer code 'EXPERTS'.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Ever visit a website where you spotted a really cool looking Font, yet couldn't figure out which font family it belonged to, or how to get a copy of it for your own use? This article explains the process of doing exactly that, as well as showing how…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

607 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question