all groups > dotnet windows forms > october 2006 >
You're in the

dotnet windows forms

group:

VB.Net 2.0 - Clipboard


VB.Net 2.0 - Clipboard Brendon Bezuidenhout
10/28/2006 12:00:00 AM
dotnet windows forms:
Hey all,

I have a problem where I need to manipulate the data that is about to be put
into the clipboard after pressing CTRL+C - but I am unable to find anything
on the net outlining how to go about this... I know about GetData and
SetData - but am unable to fully TRAP the data being copied BEFORE it hits
the Clipboard so I can edit it...

Anyone have any ideas?

Thanks in advance
Brendon
Re: VB.Net 2.0 - Clipboard Stuart Nathan
10/29/2006 5:47:08 PM
There is a clipboard object, where you can use SetData to write to it.
Why not trap ^C and then write.

Re: VB.Net 2.0 - Clipboard Brendon Bezuidenhout
11/6/2006 6:44:18 PM
lol... I forgot to pass True from the ProcessCmdKeys event and windows was
not seeing the message as handled yet


[quoted text, click to view]
AddThis Social Bookmark Button