473,473 Members | 2,053 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Paste, RichTextBox

How can I ensure that only plain text is pasted into a rich text box?
No different sized text, no pictures...etc.

Thanks
Nov 16 '05 #1
2 3106
Beeeeeeeeeves wrote:
How can I ensure that only plain text is pasted into a rich text box?
No different sized text, no pictures...etc.

Thanks


http://www.dotnet247.com/247referenc...43/218796.aspx

Cheers

Arne Janning
Nov 16 '05 #2
brilliant, cheers

"Arne Janning" <sp*****************@msn.com> wrote in message
news:O0*************@TK2MSFTNGP11.phx.gbl...
Beeeeeeeeeves wrote:
How can I ensure that only plain text is pasted into a rich text box?
No different sized text, no pictures...etc.

Thanks


http://www.dotnet247.com/247referenc...43/218796.aspx

Cheers

Arne Janning

Nov 16 '05 #3

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

Similar topics

0
by: VitoriaTang | last post by:
I want to know how to capture the paste message. I tried to capture the WM_PASTE, but it seems as the richtextbox doedn't send this message. But in fact, I can find the textbox will send paste...
4
by: Legendary Pansy | last post by:
I was checking out the 101 C# Samples, specifically Windows Forms - Use the Clipboard. I took a look at the code for a while, and I understand what the program is doing with the cut, copy, pasting...
3
by: **Developer** | last post by:
I need to paste an RTF non-ANSI string into a RichTextBox. I know how to do that if the string were all ANSI characters. But the text contains Unicode characters that have no ANSI equivalent. I...
13
by: John | last post by:
Hi How can I implement cut or copy or paste in code? Thanks Regards
2
by: JonnyT | last post by:
I searched high and low for an answer on how to auto scroll a richtextbox and now I finally have it. Since it took me a while to get a good efficient way of doing it that didn't require focus to...
2
by: Microsoft | last post by:
I'm not sure which control to use for this: I would like the user to be able to paste a list of items into a box and then be able to run through them one at a time. Hopefully there is a control...
2
by: **Developer** | last post by:
I've seen applications that have a Paste Special and if clicked allow either the Data to be pasted or a Link to be pasted. I'm using the RichTextBox and I'd like to implement that feature. ...
0
by: New at C# via DotNetMonster.com | last post by:
i have 2richtextboxs,2buttons and 2tabs i already have copy working but i need help with paste i need is so when i paste to richtextbox1 it will paste to richtextbox1 and not richtextbox 1 and...
0
by: Vimalathithan | last post by:
Hi Every one, I have developing the user control with RichTextBox in C# windows application. The problem is when I paste any text inside the RichTextBox at the runtime the pasted lines not in...
0
by: ting ting | last post by:
I am using ASP.net 2003 to write program. I have a RTFtextbox and I want to copy the words from MS WORD and paste it in the RTFtextbox. However, it said : System.ArgumentException: 無效的檔案格式。 at...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.