blah blah blah is here! blah blah » Close

0
votes
2 answers

C# coding

is it possible to write a text in a richTextBox and send it over to another richTextBox and save it there, so next time I enter the program, all I saved is there?

0
votes
1 answers

How do I color a specific word in a Rich Text Box in C#?

In Visual C#.NET, I want to change the color of specific text when it is typed in to a rich text box. For example, I might want to color the world "hi", so when the user is typing in the rich text box, if they type "hi&quo ...

0
votes
1 answers

richTextBox problem 2

q12
349

This Code is working well but wrong. Wrong because it [b]lower[/b] all text -because of the MatchCase method. How can I make it work without pre-changing anything inside (exception for color text to find)? [code]int posTxt = 0; ...

0
votes
1 answers

richTextBox problem

q12
349

I got stuck. Some help please. I need to color each word from a string that i search. [code] uc.richTextBox1.Text = alltxt;//add text to uc(userControl).richTextBox1 string search = textBox1.Text; ...

0
votes
1 answers

problem with saving richtextbox content into XML

q12
349

when I save some text with this code(from a richtextbox)into XML: [code] Node1.ChildNodes[retain].InnerText = "<![CDATA[" + RTBshadow[0].Text + "]]>"; doc.Save(DirGetFiles[listBox1.SelectedIndex]); [/code] I ...

0
votes
2 answers

copying text from one richtextbox to another

Hello, I'm developing an application in which I need to copy the content of a richtextbox with all its font settings to another richtextbox. the code i use is like this [code] this.chatTxt.SelectionStart = this.chatTxt.Text.Length; ...

0
votes
2 answers

Enable Indenting in RichTextBox

I'm trying to enable indenting in my RichTextBox editor. What I have below works, but isn't as precise with the text alignment as I would like it to be. Also, the indention seems to stick after applying it. In other words, if I backspa ...

0
votes
1 answers

RichTextBox control - Pasting Excel table, missing gridlines/border and right aligned text disappeared

Hi everyone, I am working on the Rich Edit control (version 4.1) from MS. I run in trouble with copy/paste the table from Excel. Following format is incorrect: 1. Gridlines of table cells were missed. 2. Table cells with right aligne ...

Feedback