-
I remember seeing this last year when i was trying to put my hands wet with WPF. It's a pretty good five day course courtesy of Karsten Januszewski which you can complete just by reading and applying the things that you can find out from his set of useful links. A pretty good primer to WPF if you...
-
A few weeks ago I wrote an article on how to use IComparer and how it was easy it is to create a custom comparer to sort our objects. This time we'll talk creating a default sort mechanism for our objects by using IComparer's relative, the interface IComparable. We'll also be touching Anonymous Delegates...
-
I was running a test on my Web Server today when a friend of mine IMed me about an interesting question about .NET. He was a new programmer for this company and the old developer that he replaced was running production(oh my) applications right of his desktop. The IT manager was getting worried because...
-
Seems like i learn something new everyday... public string Name { get { return name; } protected set { name = value; } } I never knew that i could put an accessibility level to the 'set' portion of my property. This technique is called Asymmetric Accessor Accessibility . Read more here .
-
Geee! it's been more than a month since I last posted something in this blog. I have been really really busy this past few weeks with a huge project and a gragantuan task which made it really hard for me to write anything that is interesting. Anyway, I have been coding crazy as always when i found out...
-
After creating this article , i realized that i can use a new utility in my toolbox. A Font Viewer. I don't want to download a new spyware so decided to code a simple one, something that i could use from time to time whenever i have the need to view a font before placing it on my Photoshop design...
-
This is a really basic stuff that alot of developers tend to forget(just like me :D) [C# VERSION] using System; using System.Collections.Generic; using System.Text; using System.Drawing.Text; using System.Drawing; namespace KeithRull.MachineFonts { class Program { static void Main( string [] args) {...
-
After reviewing my first example .. i realized that doing reflection is not the easy way to do get the known color collection(thanks to Chris Vega who pointed to me the Enum called KnownColor which basically contains .NET known colors). Somebody also told me that the demo would be nicer if the colors...
-
I had a little downtime today so i decided to create something useful(ala coding4fun) and one of the things that i wish i have in my toolbox is an .NET color chart since most of the time i tend to look at what colors i could use when matching my controls with my UI's theme(stylesheets? nah, that...
-
I created a demo today about WMI to demostrate to a friend how to read his machine's information. The resulting application is listed below. It's funny because i was just supposed to show him how WMI works but ended up discussing IEnumerators, Hashtables, Enums, Strategy and Command Pattern plus a hint...
-
I decided to create this demo after seeing a post on devpinoy.org today that is asking about how to pass a value from a gridview to another page using HyperLinks. I decided to extend it a little bit so that we could show alittle bit more functionality. Lets start: First we need to setup our grid in our...
-
I didn't realize that this property exist up until today when i was playing with a custom control that i was building (don't ask what control it is! ofcourse its a button). At first i don't what to do with it since its something that was just injected in the .NET 2.0 framework but upon reading...
-
I did a .NET Code Auditing demo today with my current company and it went out really well! It was great that I even thought I should do this on UG meetings( uh, i think that's too much dreaming keith! :p ). I'm still refining my presentation skills( i have done 2 demos before this one ) and i...
-
I was browsing dotnet.org.za today when i stumbled into an interesting problem that Derek Adkins posted on his blog. The problem was about redirecting users to a page to a new blank window(_blank) instead of using the same window to display the redirected page. I don't know the full detail about...
-
.NET 2.0 introduces to us the class known as DBProviderFactories which enables us to access available providers on a machine. the DBProviderFactories class has method called GetFactoryClasses() that returns a DataTable that contains any class that is registered on the GAC that implements the DBProviderFactory...