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?
Loading
Scott LyslePosted Jan 23, 2007, 1:10 AM
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
augustusPosted Jan 23, 2007, 12:55 AM
Scott LyslePosted Jan 23, 2007, 12:17 AM
For example:
richTextBox1.Copy();
richTextBox1.Cut();
richTextBox1.Paste();