Clipboard problem
-
How to do this. When user stores something in clipboard, my program to store that in a text file. Please help. Thanks.
C#
-
How to do this. When user stores something in clipboard, my program to store that in a text file. Please help. Thanks.
C#
Use the "Clipboard" object. Try searching Google first and you will get your answer faster... Find a sample here. Clipboard example by searching Google for "C# clipboard" Hogan
-
Use the "Clipboard" object. Try searching Google first and you will get your answer faster... Find a sample here. Clipboard example by searching Google for "C# clipboard" Hogan
Thanks, but I don't want to check every second the clipboard. That should be something like an event, when the clipboard content is changed, then the program to store the data somewhere.
C#
-
Thanks, but I don't want to check every second the clipboard. That should be something like an event, when the clipboard content is changed, then the program to store the data somewhere.
C#
Hi, the clipboard is a unique system-wide resource; it is accessible through the Clipboard class which has several methods, but no properties and no events. other unique resources (such as keyboard and mouse) are associated to a single process and a single control at a time, clipboard is different. SO the only solution would be to periodically poll it, check for text, compare with previous text, etc. :)
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google
-
Hi, the clipboard is a unique system-wide resource; it is accessible through the Clipboard class which has several methods, but no properties and no events. other unique resources (such as keyboard and mouse) are associated to a single process and a single control at a time, clipboard is different. SO the only solution would be to periodically poll it, check for text, compare with previous text, etc. :)
Luc Pattyn [Forum Guidelines] [My Articles]
this weeks tips: - make Visual display line numbers: Tools/Options/TextEditor/... - show exceptions with ToString() to see all information - before you ask a question here, search CodeProject, then Google
Thanks.
C#