I have received requests to post this in English. If you prefer a Swedish version, please visit http://www.cognosbloggen.se/2012/06/19/cognos-gadget-bi-som-windows-gadgets/.
Remember that this is not an official IBM product. If you need support, you have to contact me directly.
Worth knowing is that the content should fit on 200 * 200 pixels. But in the code, you can change that yourself.