Solved

VS 2008 bold selected text in Report file textbox

Posted on 2010-08-12
6
1,691 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
Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

 
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

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

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

Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

805 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