Thursday, February 24, 2011

Windows 7 Gadget Development


Windows Sidebar

A gadget is an HTML and script-based application designed to present the user with a limited set of information or functionality obtained from other applications, controls, or Web sites and services. Gadgets, although hosted by the Sidebar, are not confined to the Sidebar area; the user can undock and move them onto the desktop as desired.

A gadget is distributed as a .gadget file—a renamed .zip archive—consisting of a collection of XML, HTML, Microsoft JScript, and Cascading Style Sheets (CSS) files. Installation consists of downloading the .gadget file and allowing the download process to install the gadget or saving the .gadget file to the local system and double-clicking to start the installation process.

Users can run multiple instances of a gadget simultaneously. For example, if users want to know the time in different time zones, they can run multiple instances of the clock gadget, setting each clock to a specific time zone. A user might want to view slideshows of pictures from two or more different folders at the same time. This is possible because the gadget platform provides methods to store settings and automatically associate settings with the correct instance of each gadget. All current gadget settings are saved when the user logs out or restarts. If the Sidebar is on by default, then all gadget instances will run automatically upon startup, and each gadget instance will run with the correct settings.

Introduction to the Gadget Platform

This topic introduces the Gadget Platform for Windows 7. It discusses the evolution of the Gadget Platform from the Windows Vista Sidebar, the differences between the two platforms, and what you need to know when you transition Sidebar gadgets to the new Windows Gadget Platform.

Windows Sidebar Object Reference

The Windows Sidebar and gadget architecture consists of three components. The functionality of these components is exposed through the scripting elements described in the following sections:

  • Gadget functionality, such as Sidebar and gadget state and event handling.
  • System functionality, such as file, network, and operating system information.
  • Presentation functionality, such as gadget background, image, and text handling.

Other Links

Developing Gadgets for the Windows Sidebar -
Script# -
Authoring Sidebar Gadgets in C# (with Script#) -
Creating Windows 7 and Vista Gadgets (Book Resource Site) -

Wednesday, February 23, 2011

Investing Resources–Company lists for NYSE and NASDAQ

NYSE (New York Stock Exchange) complete list of stocks

NASDAQ (National Association of Securities Dealers Automated Quotations)

Yahoo links for a given ticker symbol – here using MSFT (Microsoft)

Main Page -

Headlines -

Profile -

Key Statistics -

Competitors -

Industry -

Historical Prices -

Download Historical Prices

1/23/2011, granularity=d (day), back to 2/13/1969, format CSV (comma separated values)

Friday, February 18, 2011

Apple Cider Vinegar Dressing


This apple cider vinegar recipe is a delicious salad dressing for Mexican food. It seems to blend extremely well with refried beans, spanish rice,enchiladas and especially tostadas.  It compliments these flavors so beautifully that in the restaurant business we used to serve our salads right on the plate with the main meal.  Sure there were a few people who didn't like their salad this way but the majority of people seem to love it.  I still do it this way when we go out for Mexican food. I can be found dumping my apple cider vinegar salad right on top of my beans, rice and enchilada.


  • 1 cup canola oil
  • 1 cup apple cider vinegar
  • 2 Tbs. honey
  • 1/2 tsp. dried parsley
  • 2 tsp. garlic powder
  • 2 Tbs. water
  • pinch of pepper
  • 1/2 tsp. sea salt

Add all ingredients to a blender and blend for 30 seconds or until well blended.

It would be best to pour the dressing into a bottle that has a top you can shake the dressing out of instead of pouring it. In the past I have used a glass apple cider bottle that had a metal lid. I would poke a hole in the lid with a sharp knife. Other times I have used old plastic dressing bottles that have a shaker top.  This just makes applying the dressing easier. I dislike bottles where the dressing pours out and you end up with a puddle of it on your plate.  The shaker method will distribute your dressing evenly and with better control.  Store the dressing in the refrigerator and it will keep for several weeks.

Another recipe; simple:

  • 3 Tbsp apple cider vinegar
  • 3 Tbsp olive oil
  • salt, pepper to taste

Tuesday, February 15, 2011

jQuery resources/links

Some resources/bookmarks for jQuery.

jQuery (general)


jQuery Documentation

jQuery API (3rd Party Documentation)

jQuery Tutorial

jQuery UI

jQuery, Learning (book support site)

jQuery Fundamentals (ebook)

50 Amazing jQuery Examples

Visual jQuery 1.2.6

jQuery Cycle Plugin

jQuery Mobile

jQuery Templates (VS Magazine)

    Setting Up for jQuery Templates

    Displaying and Filtering Data with jQuery Templates

    Supporting Updates with jQuery Data Linking