Results 1 to 2 of 2

Thread: how to clear the clipboard ?

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2005
    Posts
    1

    Lightbulb how to clear the clipboard ?

    Hello everybody !

    I have a problem with the clearing of the Clipboard in Active X.

    I have a program which copies the huge inside of Word-Dokument into an other word Dokument.
    After this copy there is a lot in the Clipboard, which I would like to erase.

    This code doesn’t work because it ist from .Net .

    Set MyData = New DataObject

    MyData.SetText “”
    MyData.PutInClipboard

    How can I erase the Clipboard in Active X ?

    Thank you very much
    Pavel Chaloupka

  2. #2
    I'm about to be a PowerPoster! Joacim Andersson's Avatar
    Join Date
    Jan 1999
    Location
    Sweden
    Posts
    14,649

    Re: how to clear the clipboard ?

    If you're using VB6 Clipboard.Clear will do. Otherwise use the API function EmptyClipboard.

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