EmersonH.Com

Transforming Knowledge into Power

  • Increase font size
  • Default font size
  • Decrease font size

Paste

E-mail Print

Private Sub Command1_Click()
'Using format
RichTextBox1.TextRTF = Clipboard.GetText(rtfCFRTF)
End Sub
Private Sub Command3_Click()
'Only Text
RichTextBox1.TextRTF = Clipboard.GetText(rtfCFText)
End Sub

Note:  If you do not include the parm in the gettext, you will get a double paste.

Last Updated on Monday, 21 December 2009 17:43