Welcome to MSDN Blogs Sign in | Join | Help

November 2008 - Posts

Putting resource in separate xaml files

In Silverlight, we usually define several shared resources (i.e. definition of Color, Brush, Style, etc) in an individual xaml file (i.e. inside <UserControl.Resources></UserControl.Resources>, which scope is local to that file only) or in
Posted by zainala | 3 Comments
Filed under: ,

Cool Silverlight debugging tool

This tool Silverlight Spy is pretty neat for seeing what inside Silverlight app.
Posted by zainala | 1 Comments
Filed under:

Get rid of file hiberfil.sys

I was working on my old machine running Windows XP to connect to internet (it hasn't connected to internet for years), and when installing Windows Update, the disk space on C:\ drive seems almost full. Then I noticed there's file called hiberfil.sys (used
Posted by zainala | 1 Comments
Filed under:

Changing HTML page title from Silverlight

Recently I wrote following Silverlight code and got stuck with the runtime error (as being commented below). ScriptObjectCollection soc = HtmlPage .Document.GetElementsByTagName( "Title" ); if (soc != null && soc.Count > 0) { HtmlElement titleElement
Posted by zainala | 1 Comments
Filed under:

Generic delegate in C# 3.0 or .NET 3.5

As we do event-based programming or implement publish-subscribe pattern, we use the delegate feature from .NET heavily. The sample code below demonstrates simple usage of the feature. public delegate void DataChangedDelegate ( int oldValue, int newValue);
Posted by zainala | 3 Comments

Innovation, Failure and Success

I just read this pretty good book The Riddle: Where Ideas Come From and How to Have Better Ones , and at the last chapter it suggests us to discuss these three important words to help us find our conceptual creativity. Innovation : Don't innovate, but
Posted by zainala | 1 Comments
Filed under:

Incorrect installed date in Windows Update

My laptop informed me about new windows update, which then I installed it. After the installation was done, I was curious what's the update. I viewed the update history and surprised to find that the update's date installed is 1/22/2081 instead of today's
Posted by zainala | 1 Comments
Filed under:
 
Page view tracker