Welcome to MSDN Blogs Sign in | Join | Help

May 2007 - Posts

Back June 18th

Folks, Thanks to all of you who read my blog posts, and especially those who take the time to submit your feedback! That is what keeps me going in dedicating 10-20 hours per week of my personal time on this blog... I have decided to take some time off,
Posted by irenak | 4 Comments

:) Do you get upset when you can’t finish everything you planned to for the day?

I just read this rational advice from the 2007 Calendar For Women Who Do Too Much: “Structure is something we create for our use. It does not own us.”
Posted by irenak | 0 Comments

SYSK 348: InvokeRequired No More…

By now, we all have learned to call Control.InvokeRequired to avoid the following error when updating UI from another thread or calling other apartment threaded objects that expect to be called on a thread they were created on: The calling thread cannot
Posted by irenak | 2 Comments

:) What is the meaning of the word ‘wuthering’?

Wuthering means blustery and turbulent, and often describes the fierce, noisy winds that blow across the moors. This word was used in northern England, where the novel by Emily Bronte Wuthering Heights was set. Source: The 365 Amazing Trivia Facts 2007
Posted by irenak | 2 Comments

SYSK 347: How-To Keep Historical/Audit Data Accurate

I’m sure you’ve heard this saying many times before – “the hard disk space is cheap now – save everything”… With that, many companies create paired (or buddy) tables for all transactional data, i.e. for every transactional table (i.e. not lookups, a.k.a.
Posted by irenak | 2 Comments
Filed under:

SYSK 346: How WPF Commands Make Programmer’s Life Easier

Yesterday, I came across the following example demonstrating the power of WPF commands written by Adam Nathan and published in his book “Windows Presentation Foundation Unleashed” (I’ve made some small formatting changes): < Window x:Class = " WPFWinApp.Window1
Posted by irenak | 0 Comments

SYSK 345: How To Assure Correct LastUpdatedDateTime Value in Your SQL Tables

Often, developers add LastUpdatedDataTime (or LastUpdatedTimestamp) and LastUpdatedByUser columns to tables in relational databases. And, as one might guess, these fields are often created to be not nullable with default values set by using SQL functions
Posted by irenak | 4 Comments
Filed under:

Words of wisdom: Every Day Is a Gift

“Yesterday is history, tomorrow is mystery, today is a gift – that’s why it’s called the present.”
Posted by irenak | 0 Comments

SYSK 344: Learning WPF – What Are All These PreviewX Events?

Did you notices that there are a lot of events that start with word ‘Preview’, and all of them seem to have a “buddy” event with same name but without the ‘Preview’ prefix? For example, the following paired events are defined by the System.Windows.Window
Posted by irenak | 0 Comments

:) What fruit contains 30 times more vitamin C than oranges and lemons?

Answer: Camu-camu (Mycaria dubia) -- a low-growing shrub found in swampy or flooded areas of the Amazon rainforest. In addition to vitamin C, it provides iron, niacin, riboflavin, phosphorus, potassium, beta-carotene, calcium, leucine, protein, serine,
Posted by irenak | 0 Comments

SYSK 343: Stretch Break – A Software That All Developers Should Have

If you’re anything like me, you spend 10+ hours in front of your computer… often with only one or two bathroom breaks. You know, you’re working on a problem and before you know, it’s totally dark outside. No wonder you have back pain, your eyes might
Posted by irenak | 0 Comments

Knowledge is Power: What is a 20/20/20 Rule?

To prevent eye fatigue, you should stand up and look 20 feet away for 20 seconds every 20 minutes (a.k.a. the 20/20/20 rule).
Posted by irenak | 3 Comments

SYSK 342: Learning WPF – Logical and Visual Element Tree

Whether you’re dealing with routed events or trying to figure out why your styling is not working quite as expected, you’ll need to understand these two new concepts in WPF… So, here it goes… Consider the following XAML: < Window x:Class = " WPFWinApp.Window1
Posted by irenak | 0 Comments

Words of Wisdom: Aristotle on Perfection

“Pleasure in the job puts perfection in the work.” – Aristotle
Posted by irenak | 0 Comments

SYSK 341: Why XPS Aware Printer Drivers Are Better

In SYSK 108 I briefly talked about what is XPS (XML Paper Specification). If you’re using Windows Vista and/or Office 2007, then you may want to know what makes XPS-aware drivers better than ones that don’t support XPS natively: WYSIWYG (what-you-see-is-what-you-get)
Posted by irenak | 0 Comments

:) How To Tell Fresh Poultry Eggs From Old Ones Without Knowing the Use-By (or Sell-By) Date On The Box

Did you know that fresh eggs contain very little air, so they sink in cold water, while old eggs float?
Posted by irenak | 1 Comments

SYSK 340: Learning WPF -- The Logical ‘Name’ Property

As you know, XAML allows you to give a name to declared elements. For example: < TextBox Name = " tb1 " ></ TextBox > In essence, you’re setting the Name property of the TextBox class to ‘tb1’. Why is it important? Because if you’re using
Posted by irenak | 0 Comments
 
Page view tracker