Showing posts with label side bar gadget. Show all posts
Showing posts with label side bar gadget. Show all posts

Thursday, January 10, 2008

Vista Sidebar Gadgets, Silverlight and JSON

ok, so I've posted about JSON in sidebar gadgets before and using Silverlight... when it comes to JSON (in vista side bar gadgets) just say no. at least directly, there are soooo many issues with this that it is unbelievable not to mention I'm running on a 64bit box that shouldn't even run silverlight to begin with the issues are not even consistent across different variations of vista and silverlight... really this is killing me. I found that it is eaiser to just make xml calls which is what I normalled used todo before some one came up with this brillant JSON thing... not that it is a real protocol and all but it is slick, anyway don't use JSON directly in a side bar gadget especially with Silverlight.

That being said, there are a number of ways doing old fashioned xml posting to get what you need and you can just parse and do the old fashioned xml thing and if your extra Industrious or need to write out something and the JSON eval thing solves some problems for you (namely less work) then add some begin and end tags and a nice CDATA section and your good...

But if you find a pratical way todo this let me know (JSON, sidebar gadget, vista, silverlight...), I'd love to see a code sample.

Wednesday, January 2, 2008

64bit Vista Sidebar Gadget Video Screen Capture Technology...

So um... check out my 'new' technology for 64bit Vista Sidebar Gadget Video Screen Capture

let me caviate this with the fact that I needed this now to show some one that animation in the side bar of a running gadget using Silverlight.

Camtasia didn't work and shows always always what is underneath and its like the sidebar is not even there...

and yes I googled it but I didn't have more then 10 minutes to make this work.

But since it is sooo funny I thought I would post this...

http://www.HackingSilverlight.net/img/001.JPG

I figure if all else fails and I don't have time, brute force is always good...

:)