How to copy text from RichTextBox or TextBox to clipboard? Thanks! :wave:
Printable View
How to copy text from RichTextBox or TextBox to clipboard? Thanks! :wave:
Copies the selected contents to the clipboard:
Code:Textbox1.Copy
I solved problem:
Code:TextBox1.SelectAll
TextBox1.Copy
TextBox1.DeselectAll
Better mark it as Resolved then. Thank you..
Alternatively:
Code:My.Computer.Clipboard.SetText(TextBox1.SelectedText)