Geeks With Blogs

News



Add to Google

Tim Hibbard CEO for EnGraph software May 2007 Entries
Another EnGraph wedding
Last year, Kyle and Allie got hitched, and tomorrow, David (one of our AutoCAD studs) is marrying Becca. Congrats David! I guess that leaves me as the last stud in the stable :) Technorati tags: David Collins, EnGraph, Wedding ......

Posted On Saturday, May 26, 2007 4:18 PM

Prairie Dunes
Last weekend, I had the chance to play the beautiful Prairie Dunes golf course in Hutchinson, KS. They have hosted several pro events, including the 2006 Senior Open. The course was in perfect condition. The fairways are tight, the greens are vicious and bunkers are everywhere. I ended up hitting only 5 greens in regulation and missed all of my birdie attempts. I kept my score under 100 though, and walked away with a 95. More pictures here. Technorati tags: Golf, Prairie Dunes, Hutchinson KS ......

Posted On Friday, May 25, 2007 4:22 PM

300 Unit tests
I just wrote the 300th unit test for our version 4 of ParaPlan (GoldStar). We are about 6 months into the project, 85K lines of code and 60% code coverage on the non-UI stuff. Our first release to alpha testers is July 1. Hopefully, I'll have closer to 85% coverage by then. Technorati tags: EnGraph, ParaPlan, GoldStar, code coverage ......

Posted On Thursday, May 24, 2007 9:59 PM

C# code to rebuild properties after implementing INotifyPropertyChanged
I wrote some code that is meant for people that want to easily implement INotifyPropertyChanged after using the "prop" code snippet. It will take code that looks like this:public int DriverID { get { return _driverID; } set { _driverID = value; } } And return it like this:public int DriverID { get { return _driverID; } set { _driverID = value; OnPropertyChanged("DriverID"); } } It also will ignore any triple slash comments and #regions. So you can copy your entire #region --Properties-- into the ......

Posted On Thursday, May 24, 2007 9:43 AM

EnGraph in Reno
Via Kyle Archer, our sales guys are at the CTAA Expo this week in Reno, NV. Check out our booth if you are around! Technorati tags: CTAA, 2007 Expo, Kyle Archer, EnGraph, Reno NV ......

Posted On Wednesday, May 23, 2007 8:57 AM

Casting an interface to the original type
I have an interface IEntity that all my state objects like Client, Vehicle, Route etc implement. I am creating a control with a DataGridView that will display information about a list of state objects. The control expects an IEntity object, but since IEntity only defines methods, nothing is displayed on the DGV when I bind it to List<IEntity>, even though I can see the .DataSource is properly set when I view it in the debugger. I need to cast my object back to it's original type, so it's properties ......

Posted On Friday, May 18, 2007 10:41 AM

Peace out NewsGator
I've been using NewsGator for a while now (my post about switching to it), and it's not bad, but I discovered the mobile version of Google Reader last night. This morning I found the Homepage reader widget and that was the nail in the coffin of NewsGator. The mobile version works so slickly on my PPC6700 and I've always liked the UI of the web version. So thanks NewsGator, you've been good, but I'm all google now. Technorati tags: NewsGator, Google Reader, PPC6700 ......

Posted On Wednesday, May 16, 2007 5:06 PM

Google Suggest
I've finally made it! Google Suggest will recommend "Tim Hibbard" after typing "tim hib" and will recommend "Where's Tim Hibbard" after typing "wheres ti". :) Technorati tags: Google Suggest, Narcissistic ......

Posted On Tuesday, May 15, 2007 7:57 AM

Update to SQL connection string validation code
Chris (who I meet down at SC Code Camp 2006) left a comment on my C# connection string validation code pointing out some flaws in my code. He suggested playing with System.Data.SqlClient.SqlCo... I redid the code to take advantage of this helper class. Here is the updated version of the code. Note that I only validate Data Source, Initial Catalog, User ID and Password because that is the only thing our software uses right now.public static bool IsValidSQLConnectionString(... ......

Posted On Monday, May 14, 2007 2:59 PM

Help installing CF 2.0 SP1 on my device
I'm having trouble installing .NET Compact Framework 2.0 Service Pack 1 on my PPC6700. I want to play with the new version of NavXS, but when I try to download the framework from here, the installer tells me: Any ideas on how to load the framework on my PPC? I haven't been able to find a cab file anywhere. Is it a Vista thing? Technorati tags: NavXS, Compact Framework, Vista ......

Posted On Monday, May 14, 2007 7:52 AM

C# Code to validate SQL Connection Strings
Update - I made the code better here Here is a code snippet I use to validate SQL connection strings: /// <summary>/// Checks a connection string for validity/// </summary>/// <param name="cn">SQL Connection string to validate</param>/// <returns>True if connection is valid.</returns>/// <history>/// [Tim Hibbard] 12/03/2006 Created/// </history>public static bool IsValidSQLConnectionString(... cn){ bool RV = true; try { if (!cn.Contains("Data Source")) ......

Posted On Thursday, May 10, 2007 7:56 AM

Support GWB on Digg
Some really content come out of GeeksWithBlogs. One of the best ways to spread that information to the rest of the community is via Digg. Via this search, you can search stories submitted to Digg that have the url "geekswithblogs". You can also get the same search via RSS. Help your fellow geek bloggers out and digg posts that you find interesting. Technorati tags: GeeksWithBlogs, Digg ......

Posted On Wednesday, May 9, 2007 4:08 PM

Testing post draft with WLW

Just curious if the "Post Draft to Weblog" works as expected in Windows Live Writer...

Update: it does work....Very cool.  It will put the post in your Posts tab.  When you are ready to publish it, just click "edit", make your changes, check "Published" and "Syndicate on Main Feed" on the Advanced options, and push "Post"

Posted On Wednesday, May 9, 2007 12:44 PM

Slow internet
Ever since moving to Lenexa, our internet has been really slow. In Lawrence, I was getting about 6.5 mb/s down and 760 kb/s up. Now I'm getting: Any suggestions for a better ISP in Johnson County? We are with SBC now and our contract expires this year. Technorati tags: EnGraph, SBC, Speedtest.net ......

Posted On Wednesday, May 9, 2007 12:17 PM

WM5 tip - deleting multiple messages
On Windows Mobile 5 devices with a keyboard, you can hold the Shift key and select multiple messages in the email client. When you have multiple messages selected, you can press Menu -> Delete to delete these selected messages. Hope this saves somebody as much time as it has saved me. Technorati tags: WM5 ......

Posted On Wednesday, May 9, 2007 7:45 AM

Solution to my TFS architecture problem
A while ago, I blogged about how I was having problems with how I set up references when we switched over to Team Foundation Server. I was linking internal dependencies to the build folder on the build server. This caused excessive network traffic (and delays when working from home) and failed builds (because TFS couldn't clean the build folder if I have a solution open with a reference to that folder). I've since found this branching guide on CodePlex. This has fixed all my problems. It took me ......

Posted On Tuesday, May 8, 2007 5:21 PM

My favorite Visual Studio keyboard shortcut
I actually have two favorite keyboard shortcuts that I use all the time. When defining a class signature that will implement an interface or abstract class (class something : ISomethingElse), you can press SHIFT - ALT - F10 then ENTER after you populate the signature and it will populate the needed method signatures for you. I know it sounds a bit hairy, but you get used to it pretty quickly. My second favorite is CTRL - TAB to cycle through the open tabs in the IDE. This also works for any tab control. ......

Posted On Monday, May 7, 2007 9:04 PM

Why I don't use open source in production desktop apps
I've thought about posting this for a while now and responses to my architecture post by Dave and Dru have got me thinking about it again. I avoid open source frameworks or libraries in our production desktop applications. I don't have a problem with third party when it comes to web applications or internal apps. I use AjaxPro and skmRSS on Where's Tim and my home site. I use Indy.Sockets all the time in our internal apps. Where's Tim is just for fun though and if it goes down, it's not that big ......

Posted On Monday, May 7, 2007 2:19 PM

PPC6800 in October 07
PhoneNews.com reports that Sprint has delayed releasing PPC-6800 until October of this year. This release date will enable the phone to use EVDO rev A and also will be loaded with Windows Mobile 6. I can wait a couple months, I just hope my PPC6700 can hold on until then. Update - Looks like it has been bumped up to June 2007 Technorati tags: PPC6800, Sprint, PhoneNews Trackback ......

Posted On Monday, May 7, 2007 8:51 AM

Golfing at Eagle Bend
Kyle, Matt Prentis and I are golfing at Eagle Bend this afternoon. They are much better than me. It's going to be a loooong day. Matt needs to start blogging. He does all kinds of cool stuff with Java, Web Services and SharePoint Webparts. Technorati tags: Golf, Kyle Archer, Matt Prentis, Eagle Bend, Lawrence KS ......

Posted On Saturday, May 5, 2007 12:12 PM

Architecture thoughts and Reflection
When we decided that ParaPlan 4.0 would be rebuilt in .NET (from Access), we decided not to redesign the SQL database. Even though we have some inefficiencies in our db we want to decrease development time and allow our beta testers to be able to switch back and forth between our Access front end and our .NET front end. As development began, we decided that we needed an object for each table and that we could eliminate some of the database inefficiencies in our objects. So we have an Appointment ......

Posted On Friday, May 4, 2007 10:31 AM

Best code formatter live writer plugin
I've used several different code formatters in Windows Live Writer and have finally found one that I really like: http://www.codeplex.com/ins... Technorati tags: code formatter, windows live writer ......

Posted On Friday, May 4, 2007 7:52 AM

Giddy with Reflection
I'm not being narcissistic, I just discovered tonight that I'll be able to save over 5000 lines of code on my current project using System.Reflection to internally populate an object from an external object of the same type. I'll post some code later so the true gurus can pick it apart. Technorati tags: Reflection, Justice Gray, ParaPlan, GoldStar ......

Posted On Thursday, May 3, 2007 11:21 PM

C# code for pulling data out of an IDataReader
I have a couple helper methods that I use all the time during my data access layer. I figured I might as well post them and hopefully help others out. I use the code from this article to pull my field names, that way I can build code like this:public override IEntity PopulateFromOpenIDataReader... dr) { const int ID = 0; const int NAME = 1; const int COMMENT = 2; const int ADDRESS1 = 3; const int ADDRESS2 = 4; Doctor rv = new Doctor(); rv.ID = (int)DataValidation.GetValu... ID, 0); ......

Posted On Thursday, May 3, 2007 1:11 PM

OO Question
Let's say I have a base class that requires inheriting classes to implement a specific interface. Is there a keyword or attribute I can put on my base class to tell inheriting classes that they must implement a specific interface? Or do I have to implement the interface in my base class, then also implement the interface in inheriting classes and override the base implementation? Basically, I want to know if there is a cleaner way of accomplishing this public interface ICar { void UnlockCar(); void ......

Posted On Wednesday, May 2, 2007 11:24 AM

How to get a new PPC6700
If you are tired of having your PPC-6700 set up just how you like it. With your settings perfectly configured and all the applications loaded to make it an almost perfect replacement for your laptop, just simply run the update from Sprint's website. It will fry your phone to paperweight status. As an added bonus, you'll get to visit the friendly Sprint store and get to listen to their gorilla math logic for getting insurance. Apparently, it makes fiscal sense to pay $7/month when a phone will have ......

Posted On Tuesday, May 1, 2007 9:25 AM

Copyright © Tim Hibbard | Powered by: GeeksWithBlogs.net | Join free