« Vista Gadgets | Main | Blogstars contest - Is it good for Indian Tech Blogging? »
Indian Stock Quote - Vista Gadget
Over the weekend I wrote a Vista gadget that will display the last traded price and the change in price of three Indian stocks based on Yahoo India.
Currently, this does screen scraping of Yahoo site based on the symbols you provide. I have used some pictures from the default Stock Gadget from Microsoft to make this gadget. But it is nowhere near as good as the Microsoft one, but then you have the source code of this one and you can change it or improve it for your needs. Also currently the Symbols.xml need to be on the current user desktop for this to work, which is a temporary workaround.
Structure:
1. Normal Gadget stuff in the .gadget directory zip
2. Source code of COM object that does the actual screen scraping in the other zip. You either need to build this of register the object for the gadget to work.
3. You will need Vista RC1 for this to work.
TODO:
1. Make the UI look better. Since my skills with HTML and CSS are very limited, any help in this area is highly appreciated.
2. Make some way of handling the Stocks via Gadget Settings, instead of Symbols.xml
3. Handle more than 3 stocks. This is currently a UI restriction than a code restriction. So again would need HTML/CSS/Jscript help.
4. Look at hosting code out of Codeplex or SF.net. But for first version, this is hosted out of my blog.
October 8, 2006 in Vista / Longhorn by Anand M | Permalink
TrackBack
TrackBack URL for this entry:
http://www.typepad.com/t/trackback/1248/6311200
Listed below are links to weblogs that reference Indian Stock Quote - Vista Gadget:
» India Stock Quotes Component from .NET From India
I had written a small component as a part of my Vista Gadget attempt sometime back to get the stock quote for Indian Shares from the Yahoo Finance Site. I kind of left that out in my blog for a [Read More]
Tracked on Oct 16, 2007 10:57:11 AM
Comments
Dude, thanks for writing this neat gadget. I want to install and use it. But I am not very tech-savvy. Can you provide a simple installer to install this gadget on Windows Vista please. Thanks.
Posted by: Salil Khedkar at Apr 3, 2007 12:59:31 AM
Dude! this is good stuff.. but i wud also prefer to be able to install it.. i cant understand how to make it run. can you please make an easier installer?
Posted by: Sushant at Dec 8, 2007 1:16:35 PM


