Solved

VS 2008 bold selected text in Report file textbox

Posted on 2010-08-12
6
1,677 Views
Last Modified: 2013-11-26
In creating reports using Visual Studio 2008 Report file (.rdlc), is there way to bold a word in sentence in a text box without bolding the rest of the sentenct?
0
Comment
Question by:McGurk1
  • 3
  • 2
6 Comments
 
LVL 33

Expert Comment

by:jppinto
ID: 33425168
Try using a RichTextBox. Here's a sample code:

jppinto
Private Sub Form_Load()

 RTB.SelStart = 4

 RTB.SelLength = 4

 RTB.SelBold = True

 RTB.SelStart = Len(RTB.Text)

End Sub

Open in new window

0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33428452
is there a RichTextbox in rdlc toolbox?
0
 

Author Comment

by:McGurk1
ID: 33430633
I have not been able to find a richtextbox.  Is there a way to add it in?
0
Backup Your Microsoft Windows Server®

Backup all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33430968
There is no such a control in Rdlc..
But with a textBox You cannot do that.  A Textbox has one Font property that applies to
all of the text.
What Kind Of text do you want to pass in your report...
0
 
LVL 18

Expert Comment

by:John (Yiannis) Toutountzoglou
ID: 33430985
read this
"The Report Viewer control and integrated report designer in VS 2008 are still based on the RDL 2005 format, and will be updated for the VS 2010 release to the RDL 2008 format."
http://social.msdn.microsoft.com/Forums/en-US/sqlreportingservices/thread/001ab55a-0798-4801-8593-aea61db121ab
0
 

Accepted Solution

by:
McGurk1 earned 0 total points
ID: 33534510
I found when using the rdlc in VS2008 I could not bold but using the rdl from SSRS 2008 it has the capability so went that direction
0

Featured Post

DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

The new Microsoft OS looks great, is easier than ever to upgrade to, it is even free.  So what's the catch?  If you don't change the privacy settings, Microsoft will, in accordance with the (EULA) you clicked okay to without reading, collect all the…
Article by: Leon
Software Metering within our group of companies has always been an afterthought until auditing of software and licensing became a pain point. Orchestrator and SCCM metering gave us the answer and it was an exciting process.
Viewers will learn how to maximize accessibility options in an Excel workbook for users with accessibility issues.
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calcul…

932 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now