Vista Gadgets
Written by Ian Elliot   
Sunday, 28 June 2009
Article Index
Vista Gadgets
Second Gadget
A debug flyout
Are we there yet?
Date setting
Advanced gadgets

Advanced Gadgets

As long as you know about HTML, the DOM and scripting then the only thing you need to concentrate on is the new API. It is worth mentioning, however, that many of the Windows scripting APIs and ActiveX objects are still available for you to use and you shouldn't forget about old favourites such as the WMI API. You also need to think in terms of Ajax and the HTTPRequest object to see how you might go about downloading live data from the Internet.

The new API introduces many useful new objects and functions but these are mainly about giving a web page script access to the local machine - much of the work of a Gadget is achieved using nothing really new. The sad part about Vista Gadgets is that with just a little more foresight Windows Live Gadgets could have been made compatible and you could have written a single Gadget for both environments. At the moment this isn't possible because the two environments use different Gadget APIs - but Microsoft is working on unifying them. For the moment just focus on all those new Sidebar Gadgets you can create.

fig6

A countdown in action

 

Want the code ready to use?

Sign up to I Programmer and email us your request to:

code@i-programmer.info


<ASIN: 0672329689>

<ASIN: 0470043946>

<ASIN: 047017661X>


<html>

<head>

<title>My First Gadget</title>

</head>

<body>Gadget Starter</body>

</html>



Last Updated ( Sunday, 28 June 2009 )
 
 

   
RSS feed of all content
I Programmer - full contents
Copyright © 2014 i-programmer.info. All Rights Reserved.
Joomla! is Free Software released under the GNU/GPL License.