This post originated from an RSS feed registered with .NET Buzz
by Jeff Key.
Original Post: ClipboardViewer
Feed Title: Jeff Key
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/jkey/Rss.aspx
Feed Description: Topics revolve around .NET and the Windows platform.
I often need to quickly look at unformatted XML over and over and over again while debugging. Today was one of those days and I got sick of it, so I wrote this. It's simply an WebBrowser control on a form; when it gets focus it (optionally) automatically displays the contents of the clipboard. I wrote this in a matter of minutes, so there's no error handling or anything else. I figured someone else may find it useful, so if that person is you, good luck.