Solved

VS 2008 bold selected text in Report file textbox

Posted on 2010-08-12
6
1,663 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
Free Gift Card with Acronis Backup Purchase!

Backup any data in any location: local and remote systems, physical and virtual servers, private and public clouds, Macs and PCs, tablets and mobile devices, & more! For limited time only, buy any Acronis backup products and get a FREE Amazon/Best Buy gift card worth up to $200!

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
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.
The viewer will learn how to use the =DISCRINV command to create a discrete random variable, use this command to model a set of probabilities and outcomes in a Monte Carlo simulation, and learn how to find the standard deviation of a set of probabil…
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…

760 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

17 Experts available now in Live!

Get 1:1 Help Now