CodeItBetter Programming Another VB Programming Blog

How to get text from Clipboard

Posted on October 30, 2011
1
2
3
4
5
6
'System & API - How to get text from Clipboard
' For a regular TextBox control
Text1.SelText = Clipboard.GetText()       ' You can omit vbCFText.

' For a RichTextBox control
RichTextBox1.SelRTF = Clipboard.GetText(vbCFRTF)
Comments (0) Trackbacks (0)

No comments yet.


Leave a comment


 

No trackbacks yet.