473,327 Members | 2,103 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

insert string into RichTextBox

Lee
Hi,

i have a RichTextBox that has rtf formatted text in it! now i want to add a
string to the beggining of the RichTextBox text and then two newlines. I am
struggling with it though, no matter what i do it seems to corrupt the rtf
formmated text below! any ideas anyone?

thanks in advance
lee
Sep 21 '06 #1
1 1947
Can you supply an example of what you are doing?

-Markus_R

Lee wrote:
Hi,

i have a RichTextBox that has rtf formatted text in it! now i want to add a
string to the beggining of the RichTextBox text and then two newlines. I am
struggling with it though, no matter what i do it seems to corrupt the rtf
formmated text below! any ideas anyone?

thanks in advance
lee
Sep 21 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jim P. | last post by:
I have a rich text box that I want to 'insert' into my SQL2K db. But I'm not sure how to handle it. Do I convert it to XML first? Do I place the rich text box in an object then insert it as a...
2
by: Hariharan Subramony | last post by:
Hello Guys, I have an important issue and need solution at the earliest. Thanks in advance. I have a RichTextBox named say, ' rtb' that has the text "Hello, I am fine." To place it in the...
2
by: Juan | last post by:
I`m inserting strings in a rich text control using the AppendText method, I would like to change certain parts of the string so, for example, a certain word appears bold and red when inserted. Is...
0
by: Just D. | last post by:
Does anybody know how can we insert the image from PictureBox.Image to richTextBox on the fly? Actually I'm having from 1 to 9 different pictures that I can get as byte or MemoryStream and I...
0
by: Carlos Lozano | last post by:
Hi, I will appreciate any help with the following: 1) How can I insert text without loosing the exisitng formatting. I am doing the following: this.RichTextBox1.Text =...
1
by: Carlos Lozano | last post by:
I need to merge the content of two richtextboxes. It can not be accomplished using the RichtTextBox.Text field because all format will be lost. So it has to be done using the RichtTextBox.Rtf...
0
by: ganeshboom | last post by:
hello to every one ,i am doing one project,i want to insert excel sheet in richtextbox of vb.net,or i want to insert any object into richtextbox of vb.net,my project is like a wordpad,in wordpad one...
1
by: Asking | last post by:
Hi all, I want to insert an image any location (x, y) on RichTextBox or PictureBox (or any on component supported drawing too). Can I do this? or How can I do this, please show me a way ? ...
3
by: =?Utf-8?B?QnJpYW4gQ29vaw==?= | last post by:
In my project I want to search thru a text in a text box or RichTextBox. When I search I want to list all lines that contain the string I am searching for. e.g. one plus four two plus four...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.