The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Indian Stock Quote - Vista Gadget

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Anand M

Posts: 984
Nickname: anandm
Registered: May, 2004

Anand M is a VB.NET MVP working as a Senior Architect @ Polaris Software Lab Ltd
Indian Stock Quote - Vista Gadget Posted: Oct 8, 2006 11:03 AM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Anand M.
Original Post: Indian Stock Quote - Vista Gadget
Feed Title: .NET From India
Feed URL: http://www.dotnetindia.com/index.rss
Feed Description: Your daily dose of .NET From India
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Anand M
Latest Posts From .NET From India

Advertisement

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.

Download Source Code Zip

Read: Indian Stock Quote - Vista Gadget

Topic: Vista - Flip3D and Aero Previous Topic   Next Topic Topic: [ASP.NET] News, Sites und sonstiges

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use