Geeks With Blogs


Add to Google

Tim Hibbard CEO for EnGraph software November 2008 Entries
Visual Studio Team System Unit Testing Keyboard Shortcuts
I try to use keyboard shortcuts as much as possible. Here are some that are handy when unit testing with Visual Studio: Ctrl + R, A – Run all tests Ctrl + R, T – Run tests in context (based on if cursor is in function, class, or namespace) Ctrl + R, F – Runs all tests that are checked in Test Results – very handy because that window is impossible to navigate without a mouse Ctrl + R, Ctrl + A – Run all tests in debug mode Ctrl + R, Ctrl + T – Run all tests in context in debug mode Ctrl + R, Ctrl ......

Posted On Tuesday, November 25, 2008 11:24 AM

Google Sync for Blackberry now syncs contacts
The newest version of Google Sync adds a great new feature of syncing contacts. Now your Gmail contacts will stay up to date with your Blackberry contacts and vice versa. Very nice! Download page here. Technorati Tags: Google Sync,Blackberry ......

Posted On Friday, November 21, 2008 9:52 AM

TFS - Publish Web Service with TeamBuild
TeamBuild is such a powerful tool. We use it to run our unit tests and publish our apps using ClickOnce. Recently we started using it to publish a web service. This code depends on MSBuildTasks from Tigris. <PropertyGroup> <DeploymentFolder>**S... FOLDER ON WEB SERVER**</DeploymentFold... <DeployServerName>**WEB SERVER NAME**</DeployServerName... <ApplicationPoolName>... <VirtualDirectory>Rep... ......

Posted On Wednesday, November 19, 2008 5:39 PM

VS2008 code snippet for Properties that support INotifyPropertyChanged
This code snippet extends the functionality found in prop code snippet. It will populate the backing field in the property, check for equality in the setter and call PropertyChanged. It assumes you have a base class that handles the implementation of INotifyPropertyChanged. When the snippet is called, it will generate code that looks like this: private int myVar; public int MyProperty { get { return myVar; } set { if (!myVar.Equals(value)) { myVar = value; base.OnPropertyChanged("MyP... } ......

Posted On Tuesday, November 18, 2008 2:19 PM

Something in the water
On another personal note, Chels and I are expecting our first child (a strapping young man) on 12-26. My good buddy Matt, who stood at our wedding, and his wife are also expecting a few days before us. I wonder if our kids will ever figure out they were championship babies ......

Posted On Monday, November 17, 2008 7:13 AM

For a while now, one of my goals has been to run a 5K (3.1 miles) in under 20 minutes. This morning I finally broke that number. Technorati Tags: Running,Nike+,5K ......

Posted On Monday, November 17, 2008 6:54 AM

What web search market?
According to my Blogflux search engine results for the last month, Google has not just cornered the market, they have virtually snuffed out the competition. Engine Hits Percentage Google 17596 98 Yahoo 202 1 Ask Jeeves 36 0 AOL 35 0 MSN 18 0 6 0 Technorati Tags: SEO,Search Engine,Blogflux ......

Posted On Friday, November 14, 2008 8:48 AM

Installing Windows Live Writer on Server 2008
I prefer to use web-based solutions when possible, but the other day the publish feature of google docs wasn’t working right, so I needed to install Windows Live Writer. I quickly found out that WLW doesn’t play nicely with Windows Server 2008. Since WLW is written in .NET, I just installed it on an XP virtual machine and copied the Program Files folder over to my Server 2008 machine. Simple. Technorati Tags: Windows Live Writer,Server 2008 ......

Posted On Friday, November 14, 2008 5:09 AM

Kansas vs Emporia State
I went to the KU game last night with Kyle. We won very easily. On an odd note, the singer of the National Anthem was the daughter of the Emporia State coach, and was wearing a KU shirt. Technorati Tags: Kansas University,KU,Basketball,Em... State ......

Posted On Wednesday, November 12, 2008 2:59 PM

WPF - Using SystemColors to add color to ListBox
Using colors is a simple way make your application less boring. You can change the color of the selected and unselected item in a ListBox by using code like this: <Style TargetType="ListBoxItem"> <Style.Resources> <SolidColorBrush x:Key="{x:Static SystemColors.HighlightBrush... Color="LightGreen"/> <SolidColorBrush x:Key="{x:Static SystemColors.ControlBrushKey}" Color="LightBlue"/> </Style.Resources> </Style> This style can be put in the resources of the ListBox ......

Posted On Tuesday, November 11, 2008 4:41 PM

Getting BrightKite friends using C# and LINQ
BrightKite is a location aware social network. It allows you to post notes and pictures at a specific place. It also will write to your Twitter stream so your friends can keep up with your latest activity. They also have an API, which I had the chance to play with the other night. Here is some very simple code that will write out a list of all your friends: public static void ListFriends(string username, string password) { string url = " WebRequest WRequest = ......

Posted On Monday, November 10, 2008 2:19 PM

RAM usage when running SQL on development machine
Like most developers, I run SQL on my main work computer. I find that the RAM usage gets quite bloated at times, so I have a handy bat file that I run to restart the SQL service, giving me my RAM back. Here are the simple steps to achieving this: 1) Right click on your desktop and create a new text document. 2) Rename file to restartSQL.bat 3) Click yes on confirmation to change a file name extension. If you did not get this error, you will need uncheck "Hide extensions for known file types" on the ......

Posted On Friday, November 7, 2008 6:52 PM

Copyright © Tim Hibbard | Powered by: | Join free