Geeks With Blogs


Add to Google

Tim Hibbard CEO for EnGraph software February 2007 Entries
Update to C# code to build constants from the database
I updated my article of the class to extract constants from a database for clean code freaks like me that want every field name to be defined by a constant. The original post is here. The code is here. Technorati tags: C#, code comments, .NET, Database ......

Posted On Tuesday, February 27, 2007 9:57 AM

Spatial North
Ken Hoetmer - who has his own Where's Tim - has started a new company called Spatial North. He talks more about it on his blog. Good luck Ken! Technorati tags: Ken Hoetmer, Spatial North, Where's Tim ......

Posted On Wednesday, February 21, 2007 1:23 PM

My TFS architecture problem
Update - Found a solution here I've had a problem ever since installing TFS, and I've not blogged about it yet because I wanted to figure out a good solution first. I haven't found the solution, so I'm hoping for some good advice from the brilliant GWB readers. We have quite a few dll's and controls that we reference from our applications. For example, we have our SQL Connection String control that lives in the EnGraph Controls team project. If I want to use the SQL Connection String control, I add ......

Posted On Friday, February 16, 2007 4:23 PM

Siriusly, the best present ever
My girlfriend got me a Sirius radio for Valentine's day. More specifically, a sportster 4 with pause, rewind and fast forward. I can set my favorite teams and it alerts me when they are playing. I can set favorite bands or songs and it will alert me when a station is playing it. It even has a built in FM modulator so I don't have to hard-wire it to my stereo. Plug and play, it just works! My Saturn is officially geeked out now. It already had the GeeksWithBlogs sticker, my TomTom and Where's Tim. ......

Posted On Friday, February 16, 2007 7:27 AM

C# Code to build constants from the database
When I build data access layers, I like to define a const for each column in the query like this: const int CLIENTID = 0; const int STATUS = 1; const int FIRSTNAME = 2; That way, I can pull data like this: newClient.Name.FirstName = reader.GetString(FIRSTNAME); And if something changes in the database, I know I only have to change the field that FIRSTNAME references. However, sometimes, tables can be quite large and it becomes a pain in the wrist. So I wrote a class that uses the EnterpriseLibrary ......

Posted On Wednesday, February 14, 2007 12:54 PM

As bad as turf toe
I've been having a lot of pain in my hands the last couple of weeks, so I went to the doctor and they told me it is tendonitis. That's good news considering she originally thought it was carpal tunnel. They gave me some pills and showed me some exercises to help with the pain. I still feel like a wuss though, talk about the ultimate geek injury :) I've paid a lot of attention to ergonomics. I have a natural keyboard, good chair, good mouse, multiple monitors. I guess I'm not doing enough. I found ......

Posted On Wednesday, February 14, 2007 7:48 AM

Microsoft .NET ClickOnce Launch Utility has stopped working
Has anyone ever seen this error message before? I can't find any information about it. I think it has something to do with this error that I was getting earlier: <assembly> must be strong signed in order to be marked as a prerequisite I solved the above error by rebuilding all my references, but now I'm stuck on this error. It's not tied to my computer, and it doesn't have anything to do with dfsvc.exe, because my other ClickOnce apps are working as expected. Great way to end a week. Update: ......

Posted On Friday, February 9, 2007 1:18 PM

.NET code to get version string and version date of current application
Because I always forget the syntax for this, here is my personal bookmark for the code to get version information of the current application: DateTime fileDate = new System.IO.FileInfo(Applicat... string fileVersion = System.Diagnostics.FileVers... Technorati tags: .NET, Version information, code ......

Posted On Thursday, February 8, 2007 10:30 AM

.NET MonthCalendar control on Vista
The MonthCalendar control is wider on Vista for some reason. The control is 227 pixels wide instead of 182 pixels on XP. If you have a form that only hosts this control, use this code to make it look better in Vista: private void FormDateSelector_Load(object sender, EventArgs e) { if (Environment.OSVersion.Vers... == 6) { this.Width = 227; } } Technorati tags: .NET, Vista, MonthCalendar ......

Posted On Thursday, February 8, 2007 7:30 AM

I just can't please you NUnit!
This morning I was working on some unit tests, when NUnit threw this error message at me: TestBed.Trip.Construction : expected: <System.Collections.Gene... but was: <System.Collections.Gene... My girlfriend tells me that it not what I say, but HOW I say it. Maybe NUnit could sense my sarcasm. Technorati tags: NUnit ......

Posted On Wednesday, February 7, 2007 8:01 AM

Welcoming Jonathan to EnGraph
Yesterday, Jonathan Umscheid started full time with EnGraph. He's been working on a contract basis for us for a bit now and it's great to have him on board full time! Jonathan and David are doing some really cool things with our AutoCAD project and they really need to start blogging about it! We are still looking to fill a position for a .NET developer that will help Kyle and I on our transportation and GPS software (you might even get your own Where's Tim). Technorati tags: Jonathan Umscheid, David ......

Posted On Tuesday, February 6, 2007 7:51 AM

Disappointment, classless Aggies and drinking with the college gameday crew
We went to the KU game on Saturday. It sucked to watch us lose an 11 point lead in five minutes. I still don't know what happened. It's not like we were making critical mistakes, a couple missed free throws, but that's about it. It's not like Texas A&M was making easy shots, we played solid defense the whole game. It just slipped away from us. After the final buzzer, in an act that portrays the entire A&M program as a classless crew that doesn't know how to win, they jumped up and down in ......

Posted On Monday, February 5, 2007 7:28 AM

Introducing Callie
We got Joey a new friend last weekend. She's a 7 week-old Beagle-Pug mix (Puggle). It took them a little bit to get used to each other, but they are playing together really well now. Technorati tags: Puggle ......

Posted On Saturday, February 3, 2007 12:05 PM

Google Maps for Windows Mobile
PhoneNews reports that a version of Google Maps has been released for Windows Mobile. I downloaded and played with it last night on my PPC-6700. It works really well and it integrates with your contacts list. It is interesting to note that is uses the old version of the street maps and older satellite images. Also, the final version of Window Mobile Device Center is now released. Technorati tags: Windows Mobile, Google Maps ......

Posted On Friday, February 2, 2007 7:32 AM

Installing Adobe Reader on Vista
Kyle blogs about his issues (and resolution) with installing Adobe Reader 8 on his Vista machine. For more of his thoughts on Vista and how Access 2007 sucks, see this post. Technorati tags: Vista, Adobe, Kyle Archer ......

Posted On Thursday, February 1, 2007 7:12 PM

Copyright © Tim Hibbard | Powered by: | Join free