My MSN

Click OK to add this content

 
Content Preview: rss
-+Blog has moved
444 days ago
My blog has now moved over here:   http://blogs.ythos.net
-+MSDataSetGenerator in VS2008 Beta 2
836 days ago
If you're running VS2008 Beta 2, you might have come across a problem with MSDataSetGenerator (the standard custom tool for generating DataSet code from XSD schema). It manifests itself as an error message that occurs when trying to run against XSD that <include>s other schema. (Note, xsd.exe seems to generate code just fine - it is only the custom tool inside of VS.) There's a simple fix, though - install the August CTP of Blend 2 on your machine, and all will miraculously become well.
-+Two colors red
1161 days ago
If you take a quick look here you’ll have read an interesting article about “well known values” of common types. One example Abhinaba gives is Color.Red and new Color(255,0,0) , which he says are “the same”. Moving swiftly over the fact that he meant Color.Re d and Color.FromArgb(255,0,0) , what about that equivalence claim? Well, I suppose it depends how you define equivalence. If you use either of those colors to construct a   SolidBrush and paint a nice big rectangle on the screen, then they’ll both look the same. So, in that sense they are “the same”. But try running this little console application, and examine the output. using System; using System.Collections.Generic; using System.Text; using System.Drawing;   namespace TwoColorsRed {     class Program     {         static void Main( string [] args)         {             Color red1 = Color .Red;             Color ...
-+Pop quiz
1281 days ago
What is the output of the following SQL, and why? IF 'BARRY' = 'BARRY ' BEGIN SELECT 1; END ELSE BEGIN SELECT 0; END IF 'BARRY ' = 'BARRY' BEGIN SELECT 1; END ELSE BEGIN SELECT 0; END IF 'BARRY ' LIKE 'BARRY' BEGIN SELECT 1; END ELSE BEGIN SELECT 0; END IF 'BARRY' LIKE 'BARRY ' BEGIN SELECT 1; END ELSE BEGIN SELECT 0; END
-+Name and shame...
1500 days ago
Xara have just released the latest verison of their vector graphics package. It still doesn't run at all with standard user privileges.   Which is a shame, because it is otherwise a great package...that I don't want to use.
© 2009 MicrosoftMicrosoft