<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2753557405731721244</id><updated>2024-12-19T16:23:09.008+13:00</updated><category term="CRM 2011"/><category term="Game Development"/><category term="Isometric"/><category term="JavaScript"/><category term="TileEngine"/><category term="Windows7 Messenger"/><title type='text'>Buzzricks Blog</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://buzzrick.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://buzzrick.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Buzzrick</name><uri>http://www.blogger.com/profile/13197035266403196557</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihhobqEFIc8UUsWMVLV7jmILbsRQgfgFTlkxQ5dACmFenZ5_jy1zI1jiQHUbciqPokSQPpE6HMcXrIi8c1sv4pvE6xAfW5hkc1l31xNHPWiwm5zpgpz6-qbUSYR23xgh0/s50/profile_pic.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>6</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2753557405731721244.post-8723647590826033513</id><published>2013-05-13T11:17:00.002+12:00</published><updated>2013-05-13T11:17:21.205+12:00</updated><title type='text'>Handling Hierarchies with the SQL HierarchyId datatype</title><summary type="text">Traditionally when we’ve dealt with hierarchical data in SQL we’ve need to jump through a few hoops to query it. Usually we’d set up a our data table with a parent Id reference, and to query it we would use a temp table and populate it in a recursive loop. This isn’t very efficient.


The new HierarchyId data type introduced in SQL 2008 simplifies querying this data hugely.

Let’s start with a </summary><link rel='replies' type='application/atom+xml' href='http://buzzrick.blogspot.com/feeds/8723647590826033513/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://buzzrick.blogspot.com/2013/05/handling-hierarchies-with-sql.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/8723647590826033513'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/8723647590826033513'/><link rel='alternate' type='text/html' href='http://buzzrick.blogspot.com/2013/05/handling-hierarchies-with-sql.html' title='Handling Hierarchies with the SQL HierarchyId datatype'/><author><name>Buzzrick</name><uri>http://www.blogger.com/profile/13197035266403196557</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihhobqEFIc8UUsWMVLV7jmILbsRQgfgFTlkxQ5dACmFenZ5_jy1zI1jiQHUbciqPokSQPpE6HMcXrIi8c1sv4pvE6xAfW5hkc1l31xNHPWiwm5zpgpz6-qbUSYR23xgh0/s50/profile_pic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvBqYPOOTN-VwJB0uKUji4IQFK2mouYxapQ-y8JR3a_miDABoAKed9Gk5jIHJUS0wi1UHYXV6np-lX5CNCqy33G6yzwHqtQXDWrrG8CjNGQDkFORyjOrvxkZFCTiocmSX5mozjrGqvv-GY/s72-c/1.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2753557405731721244.post-4687026037607118460</id><published>2012-08-20T11:23:00.003+12:00</published><updated>2012-08-20T11:23:19.934+12:00</updated><title type='text'>Kinect SDK Development</title><summary type="text">



At the end of last year I did a bit of work with the Kinect SDK. &amp;nbsp;I built a Kinect plugin to control Microsoft&amp;nbsp;Power Point&amp;nbsp;presentations. &amp;nbsp;I wrote up my notes at the time, but I&#39;ve just realised that I never posted a blog about it.



Although this was written months ago, and I know that the Kinect SDK has been updated since then, most of this information is still relevant</summary><link rel='replies' type='application/atom+xml' href='http://buzzrick.blogspot.com/feeds/4687026037607118460/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://buzzrick.blogspot.com/2012/08/kinect-sdk-development.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/4687026037607118460'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/4687026037607118460'/><link rel='alternate' type='text/html' href='http://buzzrick.blogspot.com/2012/08/kinect-sdk-development.html' title='Kinect SDK Development'/><author><name>Buzzrick</name><uri>http://www.blogger.com/profile/13197035266403196557</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihhobqEFIc8UUsWMVLV7jmILbsRQgfgFTlkxQ5dACmFenZ5_jy1zI1jiQHUbciqPokSQPpE6HMcXrIi8c1sv4pvE6xAfW5hkc1l31xNHPWiwm5zpgpz6-qbUSYR23xgh0/s50/profile_pic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg2o8uOjpmpRbrS3eKKvTwZL5i0Wvh9j5ktFLtoCZJcuFPAzw75SO_qKzjqQ4uqeG4hgDzm4ijSnl2eOCVQn4mIMBjucarn_K_Je-qjglUJyJcTAYjM0qEtmX2Gi73cM5o1bphZfaANsmfy/s72-c/Kinect+1+Skeleton.jpg" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2753557405731721244.post-7957650979759816111</id><published>2012-05-23T14:56:00.002+12:00</published><updated>2012-05-23T14:57:59.232+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CRM 2011"/><category scheme="http://www.blogger.com/atom/ns#" term="JavaScript"/><title type='text'>Changing CRM form properties in Javascript doesn&#39;t trigger onChange</title><summary type="text">I&#39;ve just learnt the hard way that when you change a field value on a MS CRM 2011 form via JavaScript it doesn&#39;t automatically trigger any onChange event which is wired up to that field.
To manually trigger any onChange event you do the following


Xrm.Page.getAttribute(&#39;myfieldname&#39;).fireOnChange();


or better yet, if you use a custom library to simplify your read


SetAttributeValue&amp;nbsp;=&amp;</summary><link rel='replies' type='application/atom+xml' href='http://buzzrick.blogspot.com/feeds/7957650979759816111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://buzzrick.blogspot.com/2012/05/changing-crm-form-properties-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/7957650979759816111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/7957650979759816111'/><link rel='alternate' type='text/html' href='http://buzzrick.blogspot.com/2012/05/changing-crm-form-properties-in.html' title='Changing CRM form properties in Javascript doesn&#39;t trigger onChange'/><author><name>Buzzrick</name><uri>http://www.blogger.com/profile/13197035266403196557</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihhobqEFIc8UUsWMVLV7jmILbsRQgfgFTlkxQ5dACmFenZ5_jy1zI1jiQHUbciqPokSQPpE6HMcXrIi8c1sv4pvE6xAfW5hkc1l31xNHPWiwm5zpgpz6-qbUSYR23xgh0/s50/profile_pic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2753557405731721244.post-9013529064637561036</id><published>2011-10-25T17:34:00.003+13:00</published><updated>2011-10-25T17:41:45.029+13:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Game Development"/><category scheme="http://www.blogger.com/atom/ns#" term="Isometric"/><category scheme="http://www.blogger.com/atom/ns#" term="TileEngine"/><title type='text'>Isometric Coordinate Calculation Tutorial</title><summary type="text">Here we’ll look at how to calculate a map coordinate from a screen coordinate in an isometric game.



First we’ll need to look at some definitions and assumptions about our isometric system.

Coordinate Systems


Tile Array Map

We are calculating coordinates in two coordinate systems.&amp;nbsp; The first is the Map coordinate system.&amp;nbsp; Imagine this as a square map drawn on paper.&amp;nbsp; This is </summary><link rel='replies' type='application/atom+xml' href='http://buzzrick.blogspot.com/feeds/9013529064637561036/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://buzzrick.blogspot.com/2011/10/isometric-coordinate-calculation.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/9013529064637561036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/9013529064637561036'/><link rel='alternate' type='text/html' href='http://buzzrick.blogspot.com/2011/10/isometric-coordinate-calculation.html' title='Isometric Coordinate Calculation Tutorial'/><author><name>Buzzrick</name><uri>http://www.blogger.com/profile/13197035266403196557</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihhobqEFIc8UUsWMVLV7jmILbsRQgfgFTlkxQ5dACmFenZ5_jy1zI1jiQHUbciqPokSQPpE6HMcXrIi8c1sv4pvE6xAfW5hkc1l31xNHPWiwm5zpgpz6-qbUSYR23xgh0/s50/profile_pic.jpg'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTgmndqjLag-xQn4euHWv_rb0BeBUacWoNK1om4Q8-u0GH47Ox4h-kGyBGxwLQHBVPutayuSLSIPV08nrzvf1qRC_4MOT5CB4pXZ-0GsQ7i4wjzAm5ApQlj8ILWKw5gdAIyqcYl6rC1JG5/s72-c/TileArrayMap.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2753557405731721244.post-718976728887746800</id><published>2011-09-09T11:13:00.000+12:00</published><updated>2012-05-23T14:58:18.209+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="CRM 2011"/><title type='text'>Creating Entities with dates in MS CRM 2011</title><summary type="text">MS CRM stores date values internally in UTC date format, so when I was programmatically creating appointments earlier this week I was getting weird date issues.

The solution is really simple



I figured out the following method for setting the dates in the entities. Basically you grab the difference between the current local DateTime, and the current UTC DateTime like this:




Code Snippet


</summary><link rel='replies' type='application/atom+xml' href='http://buzzrick.blogspot.com/feeds/718976728887746800/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://buzzrick.blogspot.com/2011/09/creating-entities-with-dates-in-ms-crm.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/718976728887746800'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/718976728887746800'/><link rel='alternate' type='text/html' href='http://buzzrick.blogspot.com/2011/09/creating-entities-with-dates-in-ms-crm.html' title='Creating Entities with dates in MS CRM 2011'/><author><name>Buzzrick</name><uri>http://www.blogger.com/profile/13197035266403196557</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihhobqEFIc8UUsWMVLV7jmILbsRQgfgFTlkxQ5dACmFenZ5_jy1zI1jiQHUbciqPokSQPpE6HMcXrIi8c1sv4pvE6xAfW5hkc1l31xNHPWiwm5zpgpz6-qbUSYR23xgh0/s50/profile_pic.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2753557405731721244.post-7316797274663158111</id><published>2011-08-11T15:35:00.000+12:00</published><updated>2011-08-11T15:35:25.824+12:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Windows7 Messenger"/><title type='text'>Getting MSN Messenger out of the Taskbar in Windows 7</title><summary type="text">I hate having the clutter of extra background apps sitting in my taskbar in Windows 7, and MSN Messenger is a good example of this. &amp;nbsp;A messenger app should sit out of the way in the notification tray when it&#39;s not in use.

I found out that you can do this if you set the compatibility mode for the Messenger app to Vista, it will not take up space in your taskbar unless you&#39;re actually using </summary><link rel='replies' type='application/atom+xml' href='http://buzzrick.blogspot.com/feeds/7316797274663158111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://buzzrick.blogspot.com/2011/08/getting-msn-messenger-out-of-taskbar-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/7316797274663158111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2753557405731721244/posts/default/7316797274663158111'/><link rel='alternate' type='text/html' href='http://buzzrick.blogspot.com/2011/08/getting-msn-messenger-out-of-taskbar-in.html' title='Getting MSN Messenger out of the Taskbar in Windows 7'/><author><name>Buzzrick</name><uri>http://www.blogger.com/profile/13197035266403196557</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihhobqEFIc8UUsWMVLV7jmILbsRQgfgFTlkxQ5dACmFenZ5_jy1zI1jiQHUbciqPokSQPpE6HMcXrIi8c1sv4pvE6xAfW5hkc1l31xNHPWiwm5zpgpz6-qbUSYR23xgh0/s50/profile_pic.jpg'/></author><thr:total>0</thr:total></entry></feed>