How to use Treasury Direct

If you don’t have an account yet… I am not going to explain the registration process, that is pretty self explanatory, so if you don’t have an account yet and you are reading this &#...

Visual Studio Macros

I just wanted to share some very basic things that you can do with Visual Studio Macros. This explanation will be valid for both Visual Studio 2008 and Visual Studio 2010, I can’t vouch for anyt...

Query SQL Server using PowerShell

I don’t understand why it was so difficult for me to find an example on this, so I compiled one from three posts so I could put it here: [crayon-5bf17a8d852f9883463624/] Enjoy...

Extension Methods: Straight to the Point!

I kept looking at many articles on extension methods and for some reason I couldn’t get mine to work. It then dawned on me that the class where you declare you extension methods MUST BE STATIC. ...

How to Iterate Through all Enums from a Class in C#

This took me a good while to figure out. This is specifically for looping through multiple enumerations declared inside of a class. This code would have to be modified slightly in order to loop throug...

How to connect to a remote SQL Server

I posted about this on Stackoverflow.com http://stackoverflow.com/questions/2486610/how-to-connect-to-sql-server-from-another-computer/6765184#6765184 I think I will revisit this later to find the cor...