Clipping text into Clipboard
Visual Basic
3
Posts
2
Posters
0
Views
1
Watching
-
The
System.Windows.Forms.TextBox
has built-in clipboard support. You can copy selected text to the clipboard simply by callingTextBox.Copy()
. You can also copy text to the clipboard with out using aTextBox
with theSystem.Clipboard
class.string text = "this is some text";
Clipboard.SetDataObject(new DataObject(DataFormats.Text, text));Charlie if(!curlies){ return; }
-
The
System.Windows.Forms.TextBox
has built-in clipboard support. You can copy selected text to the clipboard simply by callingTextBox.Copy()
. You can also copy text to the clipboard with out using aTextBox
with theSystem.Clipboard
class.string text = "this is some text";
Clipboard.SetDataObject(new DataObject(DataFormats.Text, text));Charlie if(!curlies){ return; }