By Peter Henry on
Wednesday, August 05, 2009 10:03 PM

Finally a true to goodness Windows screen saver (SCR) for the hit TV show Numb3rs from CBS! Please read for more details.
Read More »
|
By Peter Henry on
Friday, July 24, 2009 7:30 PM
Today I wanted to do something with a URL but neither Uri nor UriBuilder were able to help me out. Read on for more details. If you're doing web dev, you might have run into these very same issues.
Read More »
|
By Peter Henry on
Wednesday, July 22, 2009 9:18 PM
Tonight I moved all my source code over to CodePlex. Read on for details (if you care or if you want to change your source control URL).
Read More »
|
By Peter Henry on
Wednesday, July 22, 2009 8:26 PM
Microsoft released details about their lastest Windows 7 release. Read on for links (and some high level details).
Read More »
|
By Peter Henry on
Friday, July 10, 2009 7:34 PM
Heard of Windows Presentation Foundation (WPF) but only know enough to fill a thimble? Read on for a spoon fed article to give you a leg up!
Read More »
|
By Peter Henry on
Tuesday, June 30, 2009 8:59 PM
Tonight I wanted to hit two birds with one stone! Read on for more details!
Read More »
|
By Peter Henry on
Sunday, June 21, 2009 8:37 PM
Have you ever wanted to use a Dictionary of Dictionaries? What the heck are you doing with that you might ask? Read on please! :>
Read More »
|
By Peter Henry on
Tuesday, June 16, 2009 10:21 PM
I'm working on a Montreal Canadiens screen saver and thought grabbing a copy of the current web page would be cool, but how to do it and also how can you add "stuff" to it? Read on for some cool graphic details (haha).
Read More »
|
By Peter Henry on
Monday, June 15, 2009 9:20 PM
Last week I need to order a list of files and directories. My problem was I was adding multiple files implementing the IComparer interface. That's good'n'all, but there had to be a better way than one more file for one more sort order? But how?! SG to the rescue!
Read More »
|
By Peter Henry on
Friday, June 05, 2009 9:35 PM
How do you effectively disable the windows control box close button? You know, the bit "X" on the top right hand side of every WinForm, how do you get rid of it/disable it?
Read More »
|
By Peter Henry on
Wednesday, June 03, 2009 10:40 PM
Progress update as promised (late, but still as promised).
Read More »
|
By Peter Henry on
Wednesday, June 03, 2009 9:38 PM
Do you have your own server? Are you running IIS and have one ASP or ASP.NET application? Want to run more but can't seem to figure it out? Read on for some help!
You could be running Apache/Tomcat/WebLogic or other J2EE servers and you might learn a bit, but it's up to you to make the leaps of logical faith to make it run (the theory is tranlatable if not the screen shots and dialogs). Here's how you do it!
Read More »
|
By Peter Henry on
Wednesday, June 03, 2009 8:35 PM
Do you use the DISTINCT clause in your SQL queries a lot? If you do, can I have a word with you please? If you don't, maybe check this out for a "feel good" kind of moment. HAHA!
Read More »
|
By Peter Henry on
Wednesday, June 03, 2009 8:22 PM
Running short on HD space? Or maybe you're just poking around Windows and found a Prefetch directory. What's that all about? Can you delete it's contents? Only if you want to slow things down you can! DOH! Read on.
Read More »
|
By Peter Henry on
Tuesday, June 02, 2009 8:39 PM
Do you have a process you KNOW SHOULD be in a Windows Service but think they're just too complicated? You think they're for Windows Servers only or you've had/heard of administrative problems in the past? Well, read on for a detailed set of directions to take you from where you are now to a completed and working Windows Service!
Read More »
|
By Peter Henry on
Monday, June 01, 2009 9:12 PM
Believe it or not (cause I can't!) I have a project at work where I can some how get VS08 to show a private constructor via code intellisense. Don't believe me, check it out!
Read More »
|
By Peter Henry on
Thursday, May 14, 2009 10:14 PM
This week at our study group we had a discussion about passing values around by val and by ref. How so? Please read on for further details.
Read More »
|
By Peter Henry on
Thursday, May 14, 2009 8:57 PM
Today I realized the current way I was using Log4net was, well....suboptimal. Read on for what the problem was and how I fixed it!
Read More »
|
By Peter Henry on
Wednesday, May 13, 2009 9:21 PM
Have you ever noticed QuickWatch is dumb? Please read on for my rant on why QuickWatch needs just one little, itty, bitty tweak to make PERFECT!
Read More »
|
By Peter Henry on
Wednesday, May 13, 2009 8:15 PM
Are you a recently laid off hi-tech programmer/IT worker in the Ottawa, ON area? If yes, please read on for a FANTASTIC free training opportunity with CTE Solutions!
Read More »
|
By Peter Henry on
Tuesday, May 12, 2009 10:11 PM
Are you still doing your logging using Windows Event Viewer? How 2000-ish! What are you doing? Get into the next decade and start using Log4net!
Read More »
|
By Peter Henry on
Tuesday, May 12, 2009 9:42 PM
Have you tried out Windows 7 and love it except for that darn bird on the Logon background screen? Read on for how to change it, it's not that hard!
Read More »
|
By Peter Henry on
Tuesday, May 12, 2009 7:46 PM
If you're new to source control, you might find the concept of "ignoring certain files" a bit disconcerting, but that's ok. It's one of many source control's "best practises." The only "trick" is picking which files to ignore. Read on for some insight's on picking some and a sample SVN ignore list.
Read More »
|
By Peter Henry on
Monday, May 11, 2009 10:29 PM
Last weekend I bit the bullet and installed Windows 7 on two, yup, you read that right, TWO computers! Read on for my experiences.
Read More »
|
By Peter Henry on
Monday, May 11, 2009 8:19 PM
No, I don't mean to gloat, quite the opposite, I actually helped CodePlex become juuuuuuuust a little bit better today!
Read More »
|
By Peter Henry on
Thursday, May 07, 2009 7:53 PM
When you try to rename a directory or do an F5/refresh and find your Windows Explorer goes off on a ride for ten minutes unexplicably? Are you using SVN/TortoiseSVN? If you said yes to both, I have a solution, please read on!
Read More »
|
By Peter Henry on
Wednesday, May 06, 2009 9:02 PM
IMHO the OCC 2009 event was a great success for the Microsoft tech heads in the Ottawa/Gatineau area! Read on for some highlights!
Read More »
|
By Peter Henry on
Friday, May 01, 2009 11:45 AM
Have you ever emailed/phoned a software manufacturer? How long did it take? Read on for a very cool story about CodePlex! Find out why I'm pleasantly suprised!
Read More »
|
By Peter Henry on
Thursday, April 30, 2009 9:14 PM
If you are a .NET/C#/VB.NET code head living in the Ottawa, ON area, then you might be interested in the Ottawa Code Camp going on this weekend! Read on for further details!
Read More »
|
By Peter Henry on
Thursday, April 30, 2009 7:45 PM
Have you ever wanted to write a piece of code JUUUUUUUST for debugging purposes? Ever been burnt with leaving it in for a Release build? Read on for a really quick'n' easy way to avoid this in the future!
Read More »
|
By Peter Henry on
Thursday, April 23, 2009 10:22 PM
Have you ever been given a document or asked to do something for which you do not have access to the right tool? If that's happened to you before, read on for a possible solution.
Read More »
|
By Peter Henry on
Thursday, April 23, 2009 9:16 PM
Ever try to use the RegEx option in Visual Studio's Search and Replace dialog box? RegEx is hard enough as it is without having to throw in Visual Studio's own little nuances, well read on for a bit of help.
Read More »
|
By Peter Henry on
Wednesday, April 22, 2009 10:08 PM
As you're developing code/sql, do you tend to "fart around" with your t-sql in Managment Studio? If you do, I'm sure you've ruined some classic/prestine data, right? Read on for a quick trick to stop that from happening again!
Read More »
|
By Peter Henry on
Wednesday, April 22, 2009 9:05 PM
Do you create multi-lingual applications? Here's a blog from MS which could help make your translation juuuuust a bit cheaper AND give you a leg up on the actual translations themselves!
Read More »
|
By Peter Henry on
Wednesday, April 22, 2009 8:55 PM
Ever heard the term SWAG or Chachkas before but never knew what they meant? Read on to find out!
Read More »
|
By Peter Henry on
Wednesday, April 22, 2009 12:49 PM
Are you part of the ODNC? Are you interested in the first step to getting a .NET certification? Read on for a great study group given by the ODNC!
Read More »
|
By Peter Henry on
Monday, April 20, 2009 10:38 PM
Are you planning on going to a technical conference this year? Chances are your company's on a tight budget, so how are you going to decide on what's the "right' conference for you? Read on for some of my thoughts!
Read More »
|
By Peter Henry on
Monday, April 20, 2009 9:14 PM
Last Friday I got a new tool and so far I'm loving it! Read on for further details!
Read More »
|
By Peter Henry on
Monday, April 20, 2009 8:30 PM
Need a quick'n'dirty way to do something to ALL the tables in your db? Read on for a SQL Server undocumented proc you might be able to use.
Read More »
|
By Peter Henry on
Saturday, April 18, 2009 1:16 PM
Last week I was invited to presentation on how to give a good technical presentation. Read on for some cool'n'useful tidbits!
Read More »
|
By Peter Henry on
Tuesday, April 14, 2009 9:16 PM
Microsoft Certification is rumoured to be removing the Framework exam (MCTS 70-536) from the exam stack. WTF? Read on why I'm cheesed off at this announement.
Read More »
|
By Peter Henry on
Sunday, April 12, 2009 12:59 PM
Want to make your WinForms application look just a bit more professional? Read on for one quick'n'easy thing you can do to bran your newly created (or in maintenance) WinForm with your company logo!
Read More »
|
By Peter Henry on
Friday, April 10, 2009 1:07 PM
When you give presentations, do you sometimes lose track of time? Do you sometimes get caught up on a question that takes you away from your well practised presentation? Do you sometimes lose track of time (and repeat yourself cause you're not aware of your own presentation? DOH!)? Read on for a GREAT feature in Microsoft PowerPoint to help you give keep track of your presentations.
Read More »
|
By Peter Henry on
Friday, April 10, 2009 12:49 PM
How do you record your meetings? Do you use Microsoft Office Live Meeting? If you do, how do you share your meetings with others? Read on for a great tool to help you out!
Read More »
|
By Peter Henry on
Thursday, April 09, 2009 9:52 PM
Microsoft TechDays have been finalized for 2009. Read on for more details.
Read More »
|
By Peter Henry on
Wednesday, April 08, 2009 10:23 PM
AAAAHHHH Beating a config file into submission! There's a few things in life more pleasureful, but not many! If you're using DNN + SyntaxHighlighter2 + code highlighting plugin for FCKEditor, you'll want to read on for vital configuration information/gotchas/fixes.
Read More »
|
By Peter Henry on
Tuesday, April 07, 2009 10:34 PM
Have you ever wanted to take down your website quickly but weren't quite sure how? Ever been hit with a bad virus/hacker and want to immediately shut things down? Have you ever wanted to do an upgrade to your website but would like to spare your users bad error messages or confusing them by seeing wonky screens of half upgrades pages? Read on about a cool file IIS uses if it's present to take a site offline.
Read More »
|
By Peter Henry on
Tuesday, April 07, 2009 9:37 PM
Have you ever wanted to use t-sql to find out the specific version of SQL Server you were running on? If you're writing version specific t-sql, this information will be invaluable, continue reading for a quick way to figure it out.
Read More »
|
By Peter Henry on
Tuesday, April 07, 2009 8:58 PM
Stored procs are great, especially the ones from SQL Server, but the problem is using them in another query. How do you do it? Continue reading for insight! :>
Read More »
|
By Peter Henry on
Tuesday, April 07, 2009 7:45 PM
I can never remember the t-sql syntax for cursors, so here's my blog to help remind me (and hopefully serve as future reference for you too! :>).
Read More »
|
By Peter Henry on
Monday, April 06, 2009 9:06 PM
In writing up another blog about Exception handling I was getting some VERY strange results from a path throuhg my code which should be well behaved. Turns out I was getting IOExcpetions where I wasn't expecting them! And why was Path.GetTempFileName() returning an empty string for a temp filename? Read on for a very freaky reason why!
Read More »
|
By Peter Henry on
Sunday, April 05, 2009 12:50 PM
Exceptions are by their very nature, very exceptional (haha pun intentional)! :> There are quite a few different ways of throwing and catching them. I hope you enjoy this short series on exception handling (this is part 3 of 3).
Read More »
|
By Peter Henry on
Saturday, April 04, 2009 12:52 PM
Exceptions are by their very nature, very exceptional (haha pun intentional)! :> There are quite a few different ways of throwing and catching them. I hope you enjoy this short series on exception handling (this is part 2 of 3).
Read More »
|
By Peter Henry on
Friday, April 03, 2009 12:32 PM
Exceptions are by their very nature, very exceptional (haha pun intentional)! :> There are quite a few different ways of throwing and catching them. I hope you enjoy this short series on exception handling (this is part 1 of 3).
Read More »
|
By Peter Henry on
Friday, April 03, 2009 12:09 PM
20 years ago, it was common to have a DOS vs OS/2 debate over beers'n'wings! Today it's pretty much a forgone conclusion who the winner is. For the past 10 or so years, IBM and Microsoft have been relatively quiet on the war front. That could change soon. Please read for a brief look back at past "debates."
Updated 2009-04-06
Read More »
|
By Peter Henry on
Wednesday, April 01, 2009 8:46 PM
You've all heard you can embed a browser into your application, but have you tried it out? Have you seen it in action? Have you whipped up some code to try it out? Well now's your chance, continue reading to see this awesome control in action!
Read More »
|
By Peter Henry on
Wednesday, April 01, 2009 8:45 AM
Late breaking news, Microsoft buys Sun Microsystems! Continue reading for more exciting news about this earth shattering event!
Read More »
|
By Peter Henry on
Tuesday, March 31, 2009 10:34 PM
Have you ever wanted to pull off the ultimate April Fool’s Geek prank? Well, when you come up with a GREAT one, please let me know! Until then, I have something to tide you over, changing the LCD display on your office/department’s HP LaserJet Printer! Read on for more details!
Read More »
|
By Peter Henry on
Sunday, March 29, 2009 2:21 PM
In August I wrote a blog about MS Word shortcuts. Turns out there are a few other one's I've been using quite a bit. Read on for a table you can print out and tape beside your monitor to help you out.
Read More »
|
By Peter Henry on
Sunday, March 29, 2009 1:55 PM
I've recently written one of the MCTS exam, please read for a small suggestion that might help you write your next certification exam.
Read More »
|
By Peter Henry on
Saturday, March 28, 2009 1:27 PM
If you are creating a project on CodePlex, good for you! But make sure you get the URL right the first time cause you get ONE shot to set it up! Read on for more information.
Read More »
|
By Peter Henry on
Wednesday, March 25, 2009 11:17 PM
I bit the bullet today and installed MS SQL Server 2008 today, read on for some interesting things I found out.
Read More »
|
By Peter Henry on
Tuesday, March 24, 2009 11:28 PM
We all know “ magic numbers” are bad in our code. Back in the good’ol days of VB you had constants. In Java you had final variables that were part constant and part read only. Now in C# we have both constants and read only fields. Hhhhmmmm that begs the questions what’s the diff between them then? Read on for more information and code.
Read More »
|
By Peter Henry on
Tuesday, March 24, 2009 9:43 PM
What would happen to your sanity if you lost, yes I said LOST your digital photo album tomorrow? Read on for some archival strategies to keep your precious memories your's forever.
Read More »
|
By Peter Henry on
Tuesday, March 24, 2009 8:14 PM
Confused by the title? Read on about a commercial I saw tonight from Swiffer.
Read More »
|
By Peter Henry on
Monday, March 23, 2009 8:46 PM
Have you ever wanted to extract a path or directory name from a field in SQL Server? I found myself looking at that today and I found a cool and nifty trick. Read on for more information.
Read More »
|
By Peter Henry on
Monday, March 23, 2009 8:04 PM
The preliminary agenda for Ottawa Code Camp 2009 has been posted! Read further for more information.
Read More »
|
By Peter Henry on
Thursday, March 19, 2009 11:39 PM
This week at work, I noticed a piece of code setting the Thread.CurrentThread.CurrentCulture to a specific culture. No big deal right? Except shouldn't that be CurrentUICulture? hhhhhmmmm Good question! What's the difference between them? Please read on for a bit of a descriptive and some code.
Read More »
|
By Peter Henry on
Wednesday, March 18, 2009 9:55 PM
Progress update as promised (late, but still as promised).
Read More »
|
By Peter Henry on
Tuesday, March 17, 2009 9:19 PM
Do you code to the "lowest common denominator" on your team or do you code to another standard? Read on for something to make you go hhhhmmmmm....
Read More »
|
By Peter Henry on
Wednesday, March 04, 2009 9:15 PM
Interfaces are like vegetables, you know you're supposed to eat/use them more, but yaaaaaaaaaa know, life just gets in the way sometimes right? Read on for a cool idea to help your consumers use your interfaces better.
Read More »
|
By Peter Henry on
Monday, March 02, 2009 10:11 PM
Are you using proper CSS in your web pages? If you are, good for you! If not, then here's a couple invaluable links, please read on.
Read More »
|
By Peter Henry on
Monday, March 02, 2009 10:01 PM
This is a VERY cool read about the different types of cables out there. Read on!
Read More »
|
By Peter Henry on
Monday, March 02, 2009 9:32 PM
Of course YOU'VE never done this before, where you write two constructors, but instead of having one calling the other, it calls itself.......hhhhmm what would happen? Read on for more details.
Read More »
|
By Peter Henry on
Monday, March 02, 2009 9:24 PM
Ever been tasked with a code review? Enjoyed it? Unless you're a sadist, I doubt it! Read on for the best (easiest and quickly) code review criteria you'll EVER find!
Read More »
|
By Peter Henry on
Monday, March 02, 2009 8:51 PM
I like my hockey teams, but I think this guy's got everyone beat! Read on and check out the picture.
Read More »
|
By Peter Henry on
Thursday, February 26, 2009 9:10 PM
To what standard to you hold yourself accountable to? Do you use Hungarian notation? What about the C++ "m_" convention? Camel vs Pascal casing? Or do you have no clue what I'm talking about? Read on for more information.
Read More »
|
By Peter Henry on
Wednesday, February 25, 2009 9:44 PM
SB had a great coding question today which he thought enough of me to see if I could help out. As an aside, ever notice how you can ask some people questions but not others? Why is that? Fodder for another blog. Anyways, read on to see if you can solve this coding challenge.
Read More »
|
By Peter Henry on
Wednesday, February 25, 2009 8:47 PM
I got some constructive feedback today from an influential reader (two actually :> SG and SB) and I thought I would quickly explain in a bit more detail the changes I made to help make Rene's life a bit easier for the ///todo management tool in a previous post. So if you're interested, please read on! :>
Read More »
|
By Peter Henry on
Monday, February 23, 2009 9:33 PM
With special thanks to a reader, I made a small change to the Show All Tasks project I blogged about in September. Read on for further details. Thanks Rene, great idea!
Read More »
|
By Peter Henry on
Friday, February 20, 2009 11:40 PM
Are you trying to share your code with the outside world? Are you using SVN (or a variant like VisualSVN Server)? If you answered yes to both of these, then read on for some assistance.
Read More »
|
By Peter Henry on
Friday, February 20, 2009 11:00 PM
Today I read an article called Saving and Restoring Form Location in a Multi-Monitor Environment. The article talks about saving and restoring the previous window's size and location even on systems with multiple monitors. I have a different solution to this problem from the author, please read click through for more imformation and the code sample.
Read More »
|
By Peter Henry on
Thursday, February 19, 2009 10:12 PM
When someone tells you to put in a brace in your code, do you know if they're talking about ( or { or [ or even <? Read on for some concrete definitions.
Read More »
|
By Peter Henry on
Thursday, February 19, 2009 9:48 PM
This afternoon I was writting some code which removed a ToolStripStatusLabel from my ToolStrip and it took me a few moments to figure it out. Can you spot the error?
Read More »
|
By Peter Henry on
Thursday, February 19, 2009 9:14 PM
Are you tired of seeing flashes out of the corner of your eye when you have Microsoft Messenger up? Read on for a sneaky, cool and geeky way to get rid of that.
Read More »
|
By Peter Henry on
Tuesday, February 17, 2009 10:21 PM
Read More »
|
By Peter Henry on
Sunday, February 15, 2009 1:45 PM
Are you seeing an error message when opening an .csproj file and you're thinking "HUH? VS knows what a .csproj is! WTF?!" I have a possible reason, read on for details.
Read More »
|
By Peter Henry on
Saturday, February 14, 2009 2:40 PM
I goofed once (ok, I've goofed more than once, but this time someone caught me on it). Read on for more details.
Read More »
|
By Peter Henry on
Saturday, February 14, 2009 2:17 PM
The Ottawa Code Camp dates have been confirmed and the rooms booked at Algonquin College! Mark it on your calendar's, May 2nd, 2009 is the BIG DAY!
Read More »
|
By Peter Henry on
Thursday, February 12, 2009 10:04 PM
Does your company use the very same product it creates? If not, uh...... WHY THE HECK NOT?! Read on for food for thought!
Read More »
|
By Peter Henry on
Thursday, February 12, 2009 9:13 PM
Unless you're Sara Ford or Scott Cate, I'm pretty confident you haven't heard of these two features, Anchor Swapping and Deleting Words, but they are pretty cool. Read on for more details.
Read More »
|
By Peter Henry on
Wednesday, February 11, 2009 8:51 PM
Did you know there are two types of matches you can do with RegEx? I know you can create LOADS of regex patterns, but did you know there are two different types of "matches" you can get from your LOADS of patterns? Read on for a brief description (yes, I'll keep it short I promise :>).
Read More »
|
By Peter Henry on
Wednesday, February 11, 2009 12:10 AM
Have you heard of CodePlex? Have you tried it out? Joined a project, downloaded some code? Checked in some code? I've been avoiding it, for no other reason than I haven't had any need to. Until tonight, read on for some details!
Read More »
|
By Peter Henry on
Tuesday, February 10, 2009 10:05 PM
If you've had Visual Studio crash on you today simple cause you tried to add new toolbox items, you're probably confused and frustrated, just like I was today, TWO hours before a prototyping meeting! Read on for some tips to try and help the situation.
Read More »
|
By Peter Henry on
Monday, February 09, 2009 9:46 PM
Someone at my work today asked me a whiz-bang question (thanks SB! :>) about how to selectively put a checkbox on a TreeView's node? HHHHMMMM Please read on if you were as interested as I was!
Read More »
|
By Peter Henry on
Saturday, February 07, 2009 2:57 PM
Do you have a Microsoft ergonomic keyboard with a Zoom slider that has a complex? Does it think it should be a Scroll Up/Down function instead of the zooming job it currently does? Please read on for instructions on how to change your slider to a scroller.
Read More »
|
By Peter Henry on
Wednesday, February 04, 2009 9:43 PM
Pop Quiz, how many types of tables are there in Microsoft SQL Server? BBBZZZZZZZZ!!!!! Times up, did you say one? Two? Ten? Read on for the answer.
Read More »
|
By Peter Henry on
Saturday, January 31, 2009 3:00 PM
I've recently moved jobs and as such, find myself reconfiguring Visual Studio (again) to my liking. I've had to rejig my VS install a few too many times and would like to create myself a bit of a reminder of the things I do in the future. So read on to see what kinds of changes I like to make. What do you like to change/modify for your VS installs?
Read More »
|
By Peter Henry on
Thursday, January 29, 2009 10:17 PM
Canada Revenue Agency (CRA) issued a scam warning last summer which seems to be making it's rounds again (thanks NK for the info). With tax time upon us soon, I guess this is why this is coming around again. Read on for more details.
Read More »
|
By Peter Henry on
Thursday, January 29, 2009 8:40 PM
Ever visit some webpages and see a funky look'n webpage icon in your browser's address bar? If you save that page to your favourites/bookmark the page, you'll probably see it there too. Ever wonder how they do that? WHAT is that thing called anyways! It's called a "favicon" and continue reading if you want to know how to set one up for your website.
Read More »
|