Clipboard Viewer
Jeff Key
February 23, 2004
Updated: February 25, 2004
Charitable Donations

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.  The only options are to automatically display the contents of the clipboard (otherwise you can CTRL+V or Edit|Paste) and stay-on-top.  I wrote this in a matter of minutes, so there's no error handling or anything else.

Changes in v1.1:

A couple people actually downloaded and used this, so I made it a bit more friendly.

  • Previously, if the clipboard was empty or had an empty string you'd be presented with a "save as" dialog.  I believe I've fixed this.  (I can't repro anymore.)
  • Temp files are now cleaned up.

Download    

Source