Clipboard Persistence - 07-01-2005 , 09:25 AM
We are adding clipboard support for an exception handler we use, so users can
paste the information about the exception into an email or document. I am
using the following method:
Clipboard.SetDataObject(sb.ToString()); (after building the stringbuilder of
The problem is, once the application is closed, the clipboard is emptied.
Is there any way to make it persistent? Do I need to use the WIndows API
instead of the .NET?
Thanks in advance for the help.
Re: Clipboard Persistence - 07-01-2005 , 12:43 PM
Use the overload of the SetDataObject method passing true as the 2nd argument:
See MSDN documentation for this method.
Sequence Diagram Editor - Draw sequence diagrams faster
Scott W wrote:
Re: Clipboard Persistence - 07-08-2005 , 11:30 AM
Thanks, don't know how I missed that in the documentation!
"Rodger Constandse" wrote:
|Thread Tools||Search this Thread|