Click here to Skip to main content
15,899,475 members
Home / Discussions / C#
   

C#

 
QuestionrichTextBox problem 2 Pin
_Q12_27-May-11 1:38
_Q12_27-May-11 1:38 
AnswerRe: richTextBox problem 2 Pin
Luc Pattyn27-May-11 1:50
sitebuilderLuc Pattyn27-May-11 1:50 
GeneralRe: richTextBox problem 2 Pin
_Q12_27-May-11 1:59
_Q12_27-May-11 1:59 
AnswerRe: richTextBox problem 2 Pin
Luc Pattyn27-May-11 2:02
sitebuilderLuc Pattyn27-May-11 2:02 
GeneralRe: richTextBox problem 2 Pin
_Q12_27-May-11 2:15
_Q12_27-May-11 2:15 
AnswerRe: richTextBox problem 2 Pin
Luc Pattyn27-May-11 2:35
sitebuilderLuc Pattyn27-May-11 2:35 
GeneralRe: richTextBox problem 2 Pin
_Q12_27-May-11 6:35
_Q12_27-May-11 6:35 
AnswerRe: richTextBox problem 2 Pin
Luc Pattyn27-May-11 6:39
sitebuilderLuc Pattyn27-May-11 6:39 
_q12_ wrote:

rtb = richTextBox1;


WRONG!

you have copied the reference, so both rtb and richTextBox1 point to the same object.
the new RichTextBox you also created is dead right away, it is never used (it also is not needed!).

BTW: Eric already told you all that.

I suggest you choose, buy and thoroughly study an introductory book on C#.

Smile | :)
Luc Pattyn [My Articles] Nil Volentibus Arduum
The quality and detail of your question reflects on the effectiveness of the help you are likely to get.
Please use <PRE> tags for code snippets, they improve readability.
CP Vanity has been updated to V2.3

GeneralRe: richTextBox problem 2 Pin
Dan Mos27-May-11 9:28
Dan Mos27-May-11 9:28 
GeneralRe: richTextBox problem 2 Pin
_Erik_27-May-11 3:25
_Erik_27-May-11 3:25 
GeneralRe: richTextBox problem 2 Pin
_Q12_27-May-11 8:05
_Q12_27-May-11 8:05 
AnswerRe: richTextBox problem 2 Pin
BobJanova27-May-11 5:03
BobJanova27-May-11 5:03 
AnswerRe: richTextBox problem 2 Pin
_Q12_27-May-11 7:59
_Q12_27-May-11 7:59 
QuestionError running sp in C# Pin
MAW3026-May-11 16:31
MAW3026-May-11 16:31 
AnswerRe: Error running sp in C# PinPopular
Richard MacCutchan26-May-11 22:16
mveRichard MacCutchan26-May-11 22:16 
QuestionUserAppDataRegistry - disable ProductVersion component in key path Pin
bob1697226-May-11 15:41
bob1697226-May-11 15:41 
QuestionRegEx for Fist Charactr is Positive Pin
Kevin Marois26-May-11 11:31
professionalKevin Marois26-May-11 11:31 
AnswerRe: RegEx for Fist Charactr is Positive Pin
Luc Pattyn26-May-11 12:00
sitebuilderLuc Pattyn26-May-11 12:00 
GeneralRe: RegEx for Fist Charactr is Positive Pin
Manfred Rudolf Bihy26-May-11 12:26
professionalManfred Rudolf Bihy26-May-11 12:26 
GeneralRe: RegEx for Fist Charactr is Positive [modified] Pin
Luc Pattyn26-May-11 12:40
sitebuilderLuc Pattyn26-May-11 12:40 
GeneralRe: RegEx for Fist Charactr is Positive Pin
SledgeHammer0126-May-11 12:59
SledgeHammer0126-May-11 12:59 
AnswerRe: RegEx for Fist Charactr is Positive Pin
Luc Pattyn26-May-11 13:04
sitebuilderLuc Pattyn26-May-11 13:04 
GeneralRe: RegEx for Fist Charactr is Positive Pin
SledgeHammer0126-May-11 13:13
SledgeHammer0126-May-11 13:13 
GeneralRe: RegEx for Fist Charactr is Positive Pin
BobJanova26-May-11 23:31
BobJanova26-May-11 23:31 
AnswerRe: RegEx for Fist Charactr is Positive Pin
Manfred Rudolf Bihy26-May-11 12:22
professionalManfred Rudolf Bihy26-May-11 12:22 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.