Click here to Skip to main content
15,888,461 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
AnswerRe: FileSystemWatcher question Pin
Stuart Wells5-Dec-06 6:05
Stuart Wells5-Dec-06 6:05 
GeneralRe: FileSystemWatcher question Pin
Hendrik Debedts5-Dec-06 8:06
Hendrik Debedts5-Dec-06 8:06 
GeneralRe: FileSystemWatcher question Pin
Alsvha5-Dec-06 8:22
Alsvha5-Dec-06 8:22 
GeneralRe: FileSystemWatcher question Pin
Luc Pattyn5-Dec-06 12:11
sitebuilderLuc Pattyn5-Dec-06 12:11 
GeneralRe: FileSystemWatcher question Pin
Alsvha5-Dec-06 20:49
Alsvha5-Dec-06 20:49 
GeneralRe: FileSystemWatcher question Pin
Dave Kreskowiak5-Dec-06 15:00
mveDave Kreskowiak5-Dec-06 15:00 
GeneralRe: FileSystemWatcher question Pin
Alsvha5-Dec-06 20:49
Alsvha5-Dec-06 20:49 
QuestionRichTextBox VS2005 Pin
Jon Stroh4-Dec-06 17:47
Jon Stroh4-Dec-06 17:47 
I have a RichTextBox on a winform, it was placed there by dragging from the datasouces page, so it is bound to the datafield that contains rtf formatted text. However when I scroll through records in the database when I come across a data record that has rtf formatting it shows the RTF code as well as the text in the field As such:

{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil MS Sans Serif;}{\f1\fnil\fcharset0 MS Sans Serif;}}
{\colortbl ;\red0\green0\blue255;}
\viewkind4\uc1\pard\lang1033\b\f0\fs16 #4 Ker Long Heeled --Egg Bar--51/2x63/4\f1 --1/2" wedge\par
\cf1 11/02\cf0 --Changed to Natural Balance shoes \f0\par
}

What do I have to do to get the text only from this field to display?

All I really need to do is extract the text from this field

string text = fRONTRichTextBox.Text; Ithought this returned only the text
string rtf = fRONTRichTextBox.Rtf; I thought this returned the text and rtf code formatting

But..Both return the same value:

{\rtf1\ansi\ansicpg1252\deff0{\fonttbl{\f0\fnil MS Sans Serif;}{\f1\fnil\fcharset0 MS Sans Serif;}}
{\colortbl ;\red0\green0\blue255;}
\viewkind4\uc1\pard\lang1033\b\f0\fs16 #4 Ker Long Heeled --Egg Bar--51/2x63/4\f1 --1/2" wedge\par
\cf1 11/02\cf0 --Changed to Natural Balance shoes \f0\par
}


Thanks Jon Stroh
AnswerRe: RichTextBox VS2005 Pin
Jon Stroh4-Dec-06 18:20
Jon Stroh4-Dec-06 18:20 
QuestionPowerPoint effects: How to figure out a current effect name within SlideShowNextBuild event handler? Pin
wasek20014-Dec-06 2:48
wasek20014-Dec-06 2:48 
GeneralProcessname Pin
Alsvha4-Dec-06 1:42
Alsvha4-Dec-06 1:42 
QuestionGSM Modem Pin
Waskira3-Dec-06 6:48
Waskira3-Dec-06 6:48 
QuestionApproximating cursor position Pin
Tomas(cz)3-Dec-06 6:10
Tomas(cz)3-Dec-06 6:10 
AnswerRe: Approximating cursor position Pin
DavidNohejl5-Dec-06 5:54
DavidNohejl5-Dec-06 5:54 
QuestionIs there an equivalent of CWinThread? Pin
rudy.net3-Dec-06 6:01
rudy.net3-Dec-06 6:01 
AnswerRe: Is there an equivalent of CWinThread? Pin
Not Active3-Dec-06 16:34
mentorNot Active3-Dec-06 16:34 
QuestionProblem with RDLC Page Setup ? Pin
ashkumar2-Dec-06 20:30
ashkumar2-Dec-06 20:30 
QuestionDomainUpDown Pin
Leslie Sanford2-Dec-06 13:23
Leslie Sanford2-Dec-06 13:23 
AnswerRe: DomainUpDown Pin
Leslie Sanford2-Dec-06 15:40
Leslie Sanford2-Dec-06 15:40 
AnswerRe: DomainUpDown Pin
MatrixCoder2-Dec-06 20:36
MatrixCoder2-Dec-06 20:36 
QuestionSTAThread attribute is missing in System.dll (CF 2.0)? [modified] Pin
rudiman2-Dec-06 12:49
rudiman2-Dec-06 12:49 
AnswerRe: STAThread attribute is missing in System.dll (CF 2.0)? Pin
Guffa2-Dec-06 16:02
Guffa2-Dec-06 16:02 
QuestionUpload database Pin
Ashish Porwal2-Dec-06 1:46
Ashish Porwal2-Dec-06 1:46 
AnswerRe: Upload database Pin
Not Active2-Dec-06 2:55
mentorNot Active2-Dec-06 2:55 
QuestionConnection String Pin
Tauseef A1-Dec-06 21:11
Tauseef A1-Dec-06 21:11 

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.