Results 1 to 2 of 2

Thread: Pasting Data From Clipboard

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 1999
    Location
    UK
    Posts
    5
    When using an OLE control, I can paste images from the clipboard if I copy it from paint or any progam, but if I use PrintScreen from the keyboard I am not able to paste it, the pasteok always returns false.

    Help please

  2. #2
    Frenzied Member
    Join Date
    Jul 1999
    Posts
    1,800
    I don't know much about OLE controls but...

    Clipboard.clear
    Clipboard.SetData Image1.Picture
    SendMessage RichTextBox1.hwnd, WM_PASTE, 0, 0

    This would convert everything from image1 to A Rich Text Box.

    Hope this helps.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width