Results 1 to 14 of 14

Thread: [RESOLVED] [2008] how to save ClipBoard while copying?

Threaded View

  1. #1

    Thread Starter
    Lively Member mahammad()'s Avatar
    Join Date
    Jun 2008
    Location
    Cairo , Egypt
    Posts
    71

    Resolved [RESOLVED] [2008] how to save ClipBoard while copying?

    HI All

    I am crating project and I want to copy an image to clipboard and then paste it in RTB

    I used this and it worked
    vb Code:
    1. Clipboard.Clear
    2. Clipboard.SetImage("C:/Example.bmp")
    3. document.paste
    but however the old contains of the ClipBoard will cleared , so how can I copy and paste this image without lose the clipboard contain

    there's two ways I found but I couldn't did them in code and don't know if they can work or not??

    1-save the clipboard contain in another object or variable and them after copy paste the image bring them back to the clipboard

    2-create a new clipboared
    vb Code:
    1. Dim MyClipBoard As Clipboard
    but don't know how to paste from this clipboard

    help me please and thanks in advance
    Last edited by mahammad(); Aug 28th, 2008 at 02:30 PM.

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