Home All Groups Group Topic Archive Search About

Trigger event when data copied to clipboard

Author
2 Jun 2006 5:06 PM
Dustin Davis
Is it possible to trigger an event in VB.NET whenever anything is copied
to the clipboard?

Author
2 Jun 2006 5:24 PM
Dick Grier
AFAIK, there is no built-in support for this.

What I've done in the past is to simply use a Timer and to monitor the
Clipboard content(s) in the timer event.

Dick

--
Richard Grier, MVP
Hard & Software
Author of Visual Basic Programmer's Guide to Serial Communications, Fourth
Edition,
ISBN 1-890422-28-2 (391 pages, includes CD-ROM). July 2004, Revised March
2006.
See www.hardandsoftware.net for details and contact information.
Author
2 Jun 2006 5:50 PM
Kerry Moorman
Dustin,

This might work for you:
http://www.vbaccelerator.com/home/net/code/libraries/Windows_Messages/Responding_to_Clipboard_Change_Notifications/article.asp

Kerry Moorman


Show quoteHide quote
"Dustin Davis" wrote:

> Is it possible to trigger an event in VB.NET whenever anything is copied
> to the clipboard?
>
Author
2 Jun 2006 10:57 PM
Dustin Davis
Cool. Thanks!

I think I found one that is similar:
http://www.radsoftware.com.au/articles/clipboardmonitor.aspx

Kerry Moorman wrote:
Show quoteHide quote
> Dustin,
>
> This might work for you:
>
> http://www.vbaccelerator.com/home/net/code/libraries/Windows_Messages/Responding_to_Clipboard_Change_Notifications/article.asp
>
> Kerry Moorman
>
>
> "Dustin Davis" wrote:
>
>> Is it possible to trigger an event in VB.NET whenever anything is copied
>> to the clipboard?
>>