Article ID: 193593
Article Last Modified on 5/13/2003
Private Sub Command1_Click()
if OLE1.PasteOk = True then
OLE1.Paste
else
msgbox "Can not paste!"
End if
End Sub
Private Sub Command1_Click()
' use RichTextBox to transform the clipboard info
RichTextBox1.TextRTF = ""
RichTextBox1.SetFocus
SendKeys "^v", True
SendKeys "^+{HOME}", True
SendKeys "^c", True
RichTextBox1.TextRTF = ""
if OLE1.PasteOk = True then
OLE1.Paste
else
msgbox "Can not paste!"
End if
End Sub
Additional query words: kbDSupport kbDSD kbVBp kbVBp500 kbVBp600 kbOLE kbClipboard
Keywords: kbprb KB193593