hi, i'm trying to do a cut, copy and paste function for my C# application, but the information i can find on the net is only restricted to cut, copy and paste from a textbox.
how can i point the function to highlighted text to cut copy and paste the highlighted text?
Copy and paste function
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Scott LysleRank #49 · 31K reputationPosted Jan 22, 2007, 7:17 PM EST
For example:
richTextBox1.Copy();
richTextBox1.Cut();
richTextBox1.Paste();
augustus6 reputationPosted Jan 22, 2007, 7:55 PM EST
Scott LysleRank #49 · 31K reputationPosted Jan 22, 2007, 8:10 PM EST
There is a VB example here, it would not be much of a trick to convert it to C#: (it does show how to embed images too)
http://www.vbdotnetheaven.com/UploadFile/scottlysle/WordProcessor09122006234320PM/WordProcessor.aspx?ArticleID=ccefb5dc-29cf-43fb-9fef-d8e55d477387