Click here to Skip to main content

Articles by Pete O'Hanlon (Articles: 22, Technical Blogs: 34, Tip/Tricks: 3)

Articles: 22, Technical Blogs: 34, Tip/Tricks: 3

RSS Feed

Average article rating: 4.74

Miscellaneous

CodeStash - a journey into the dark side of Visual Studio, or how I lost my hair
Posted: 20 Mar 2012   Updated: 20 Mar 2012   Views: 38,703   Rating: 4.94/5    Votes: 66   Popularity: 9.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 95   Downloaded: 0
A look into the CodeStash Visual Studio Extension.

Smart Client

SongBird - a Twitter Hybrid Smart Client
Posted: 18 Jun 2009   Updated: 18 Jun 2009   Views: 48,219   Rating: 4.97/5    Votes: 40   Popularity: 7.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 81   Downloaded: 768
Using the WCF RESTful services to create a Twitter hybrid Smart Client.

ASP.NET

CodeStash - A useful (hopefully) tool for devs II
Posted: 20 Mar 2012   Updated: 21 Mar 2012   Views: 28,793   Rating: 4.82/5    Votes: 33   Popularity: 7.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 42   Downloaded: 0
A distributed codesnippet storage tool : Part II
CodeStash - A useful (hopefully) tool for devs
Posted: 20 Mar 2012   Updated: 15 May 2012   Views: 54,110   Rating: 4.98/5    Votes: 78   Popularity: 9.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 150   Downloaded: 0
A distributed code-snippet storage tool.

Client side scripting

A Whistle-stop Tour of jQuery
Posted: 22 Dec 2010   Updated: 22 Dec 2010   Views: 91,644   Rating: 4.96/5    Votes: 67   Popularity: 9.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 81   Downloaded: 365
A rapid introduction to jQuery and the power of the almighty $

Windows Phone 7/8

Peeling the Mango - Win Phone 7 Programming from the Ground Up (Part 1)
Posted: 14 Jul 2011   Updated: 14 Jul 2011   Views: 51,102   Rating: 4.95/5    Votes: 70   Popularity: 9.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 122   Downloaded: 429
Learning how to program Windows Phone 7 from the very beginning

Database

Improving the performance of queries using SQL Server: Part 1
Posted: 11 Jan 2007   Updated: 11 Jan 2007   Views: 48,362   Rating: 3.26/5    Votes: 25   Popularity: 4.58
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 0
The first in a series of articles on prioritizing and improving query performance in SQL Server.
Improving the performance of queries using SQL Server: Part 2
Posted: 3 May 2007   Updated: 3 May 2007   Views: 55,380   Rating: 4.52/5    Votes: 24   Popularity: 6.22
Licence: The Code Project Open License (CPOL)      Bookmarked: 64   Downloaded: 0
These articles are on prioritizing and improving query performance in SQL Server.

C#

The EventPool Revisited
Posted: 2 Aug 2007   Updated: 28 Mar 2008   Views: 36,131   Rating: 4.42/5    Votes: 15   Popularity: 5.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 50   Downloaded: 229
Easily manage .NET events using attributes, enumerations and generics
Introducing Code Contracts
Posted: 22 Aug 2010   Updated: 25 Aug 2010   Views: 90,685   Rating: 4.96/5    Votes: 65   Popularity: 8.98
Licence: The Code Project Open License (CPOL)      Bookmarked: 163   Downloaded: 256
Using Code Contracts to make elegant code
Introducing Code Contracts - Part 2
Posted: 25 Aug 2010   Updated: 25 Aug 2010   Views: 25,034   Rating: 4.88/5    Votes: 21   Popularity: 6.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 57   Downloaded: 134
Using Code Contracts to make elegant code
Low impact images
Posted: 21 May 2010   Updated: 8 Jun 2010   Views: 27,843   Rating: 4.96/5    Votes: 41   Popularity: 8.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 51   Downloaded: 594
This article describes one way of dealing with the thorny issue of image lifetime in applications.

.NET Framework

Automatically Enable/Disable Items with IExtenderProvider
Posted: 18 Aug 2006   Updated: 18 Aug 2006   Views: 24,987   Rating: 4.31/5    Votes: 16   Popularity: 4.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 179
Using Extender Provider to add properties to enable/disable items based on common classifications using IExtenderProvider

Windows Presentation Foundation

Understanding WPF via ASP.NET
Posted: 22 May 2008   Updated: 22 May 2008   Views: 91,452   Rating: 4.87/5    Votes: 43   Popularity: 7.96
Licence: The Code Project Open License (CPOL)      Bookmarked: 62   Downloaded: 1,654
Shows how certain WPF concepts can be easily understood via ASP.NET.

String handling

A Naive String Comparer
Posted: 17 Apr 2008   Updated: 6 May 2008   Views: 22,539   Rating: 4.40/5    Votes: 18   Popularity: 5.52
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 90
A class to perform a "naive" comparison of two chunks of text to see if they look to be the same.

Windows 8 Design

The Fake Project - Redesigning Code Project Part 1
Posted: 14 Sep 2012   Updated: 17 Sep 2012   Views: 10,125   Rating: 5.00/5    Votes: 17   Popularity: 6.15
Licence: The Code Project Open License (CPOL)      Bookmarked: 14   Downloaded: 0
The Fake Project - The first two days of a Code Project redesign.

Interviews

A Coder Interview With Pete O'Hanlon
Posted: 19 Oct 2011   Updated: 19 Oct 2011   Views: 18,542   Rating: 4.96/5    Votes: 38   Popularity: 7.84
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Welcome to our continuing series of Code Project interviews in which we talk to developers about their backgrounds, projects, interests and pet peeves. In this installment we track down Code Project member Pete O'Hanlon.

Scrapbook

Some guidelines for posting questions in the forums
Posted: 4 May 2007   Updated: 1 Jun 2007   Views: 215,982   Rating: 4.93/5    Votes: 92   Popularity: 9.67
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 0
A guide to getting along nicely in the forums
Going Solo - First Steps in Building a Successful Company
Posted: 19 Feb 2008   Updated: 21 Feb 2008   Views: 63,649   Rating: 4.84/5    Votes: 69   Popularity: 8.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 141   Downloaded: 0
So you want to go it alone? Things to think about when running your company.
Going Solo - First Steps in Building a Successful Company (Part II)
Posted: 22 Feb 2008   Updated: 21 Feb 2008   Views: 59,535   Rating: 4.76/5    Votes: 34   Popularity: 7.28
Licence: The Code Project Open License (CPOL)      Bookmarked: 63   Downloaded: 0
So you want to go it alone? Things to think about when running your company.
Going Solo – First Steps in Building a Successful Company (Part IIA) - A slight divergence
Posted: 28 Mar 2008   Updated: 28 Mar 2008   Views: 55,559   Rating: 4.81/5    Votes: 32   Popularity: 7.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 60   Downloaded: 0
So you want to go it alone? Things to think about when running your company.
Going Solo - First Steps in Building a Successful Company (Part III)
Posted: 16 Apr 2008   Updated: 16 Apr 2008   Views: 31,852   Rating: 4.89/5    Votes: 29   Popularity: 7.14
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 0
So you want to go it alone? Things to think about when running your company.

Average blogs rating: 4.87

Document / View

Action Based ViewModel and Model Validation [Technical Blog]
Posted: 16 Apr 2009   Updated: 16 Apr 2009   Views: 12,398   Rating: 4.55/5    Votes: 4   Popularity: 2.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Action based ViewModel and Model Validation

Edit Controls

I love behaving [Technical Blog]
Posted: 8 Jun 2010   Updated: 8 Jun 2010   Views: 8,449   Rating: 4.91/5    Votes: 5   Popularity: 3.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Using Attached Behaviors to modify the behaviour of a TextBox
Keeping it regular [Technical Blog]
Posted: 4 Apr 2011   Updated: 4 Apr 2011   Views: 3,423   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
Adding Regular Expression functionality in your TextBox.

Miscellaneous

So where do we go from here? [Technical Blog]
Posted: 4 Jun 2011   Updated: 4 Jun 2011   Views: 8,928   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
Well, Microsoft has finally unveiled what is commonly known as Windows 8. The Metro UI represents a dramatic step forward for Windows applications.

Applications & Tools

Of Mice and Men and Computed Observables. Oh my. [Technical Blog]
Posted: 23 Nov 2012   Updated: 23 Nov 2012   Views: 1,537   Rating: 4.50/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
I have recently been playing around with Knockout.js, and have been hugely impressed with just how clever it is, and how intuitive. One of the really great features that Knockout provides is the ability to have a computed observable object. That’s a fancy way of saying that it has functionalit

Silverlight

Silverlight OverrideCursor [Technical Blog]
Posted: 16 Apr 2009   Updated: 16 Apr 2009   Views: 11,515   Rating: 4.80/5    Votes: 2   Popularity: 1.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
One of the really great things you can do with WPF is use Mouse.OverrideCursor to set the cursor for the entire application.
It’s not that hard to add the missing bits to Silverlight [Technical Blog]
Posted: 19 Jul 2009   Updated: 19 Jul 2009   Views: 11,737   Rating: 4.21/5    Votes: 8   Popularity: 3.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Adding some missing bits to Silverlight.
Draggable PushPins [Technical Blog]
Posted: 10 Oct 2010   Updated: 10 Oct 2010   Views: 8,270   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Draggable PushPins
Silverlight charts, and reaching my inner child [Technical Blog]
Posted: 30 Jul 2009   Updated: 30 Jul 2009   Views: 12,604   Rating: 4.67/5    Votes: 4   Popularity: 2.81
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
Silverlight charts, and reaching my inner child

C#

Faster faster loops [Technical Blog]
Posted: 3 May 2010   Updated: 3 May 2010   Views: 7,801   Rating: 4.83/5    Votes: 7   Popularity: 4.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
Using the Task Parallel Library in .NET 4.0
Where Did My StartupPath Go? [Technical Blog]
Posted: 16 Apr 2009   Updated: 16 Apr 2009   Views: 12,303   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Where did my StartupPath go?

Other .NET Languages

I’m leading a parallel life [Technical Blog]
Posted: 28 Jun 2009   Updated: 28 Jun 2009   Views: 10,708   Rating: 5.00/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 0
Axum is designed for applications that require parallel task execution. As it is designed to create parallel applications, the language offers first class constructs for achieving parallelisation.

Libraries

Adding to MoXAML [Technical Blog]
Posted: 13 Sep 2011   Updated: 13 Sep 2011   Views: 6,832   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
How I coded the Scrubber command that’s available in the new version.

Windows Presentation Foundation

Scratching that old itch [Technical Blog]
Posted: 11 Feb 2011   Updated: 11 Feb 2011   Views: 3,274   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
How to create a watermarked textbox.
Getting control of your numbers [Technical Blog]
Posted: 1 Apr 2011   Updated: 1 Apr 2011   Views: 5,905   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
A simple mechanism to limit the input of data to a TextBox so that it only accepted the relevant numeric amount.
Keeping it focused [Technical Blog]
Posted: 8 Jul 2012   Updated: 9 Jul 2012   Views: 2,947   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 7   Downloaded: 0
The solution to a problem that was posted on CodeProject.
Binding to a single object [Technical Blog]
Posted: 16 Apr 2009   Updated: 16 Apr 2009   Views: 12,731   Rating: 4.29/5    Votes: 3   Popularity: 2.04
Licence: The Code Project Open License (CPOL)      Bookmarked: 8   Downloaded: 0
A sample of the WPF databinding infrastructure.
Binding Passwords [Technical Blog]
Posted: 10 Jun 2009   Updated: 29 Jun 2009   Views: 25,683   Rating: 4.67/5    Votes: 10   Popularity: 4.65
Licence: The Code Project Open License (CPOL)      Bookmarked: 12   Downloaded: 0
Binding Passwords
Please select your collection [Technical Blog]
Posted: 21 May 2009   Updated: 29 Jun 2009   Views: 12,668   Rating: 4.80/5    Votes: 4   Popularity: 2.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 0
In this post, I'd like to cover a fairly common scenario that I've received various bits of email about as WPF is becoming more and more popular with developers.
Fun with Fonts [Technical Blog]
Posted: 16 Apr 2009   Updated: 16 Apr 2009   Views: 15,695   Rating: 5.00/5    Votes: 5   Popularity: 3.49
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 0
How to have fun with fonts in WPF
Easy help with WPF [Technical Blog]
Posted: 1 May 2009   Updated: 1 May 2009   Views: 20,088   Rating: 4.87/5    Votes: 10   Popularity: 4.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 0
Adding simple HelpProvider functionality to your WPF applications couldn't be easier.
Textbox Drag/Drop in WPF [Technical Blog]
Posted: 28 Sep 2009   Updated: 28 Sep 2009   Views: 25,142   Rating: 5.00/5    Votes: 7   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 10   Downloaded: 0
Textbox Drag/Drop in WPF
Logging display and WPF [Technical Blog]
Posted: 12 Oct 2009   Updated: 12 Oct 2009   Views: 10,525   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 11   Downloaded: 0
Logging display and WPF
Undoing MVVM [Technical Blog]
Posted: 1 Feb 2010   Updated: 1 Feb 2010   Views: 8,975   Rating: 4.89/5    Votes: 4   Popularity: 3.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   Downloaded: 0
Providing Undo/Redo across VMs (part 1 - simple properties)
MoXAML goes MefXAML [Technical Blog]
Posted: 6 Sep 2011   Updated: 6 Sep 2011   Views: 6,993   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
MoXAML Power Toys gets that MEF injection to make it plugin based.

Ultrabooks

Altering my perception [Technical Blog]
Posted: 13 Feb 2013   Updated: 13 Feb 2013   Views: 836   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
My apologies for not posting for a while; it’s been a pretty crazy couple of months and it’s just about to get a whole lot crazier. For those who aren’t aware, Intel® have started running coder challenges where they get together people who are incredibly talented and very, very cer
Ultimate Coder: Going Perceptual – Week 1 Blog Posting. [Technical Blog]
Posted: 19 Feb 2013   Updated: 19 Feb 2013   Views: 750   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
A weekly blog digest of my progress with using the Perceptual Computing items.
Ultimate Coder – Week 2: Blog posting [Technical Blog]
Posted: 26 Feb 2013   Updated: 26 Feb 2013   Views: 1,516   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This is a copy of the post I made on the Intel site here. For the duration of the contest, I am posting a weekly blog digest of my progress with using the Perceptual Computing items. The first weeks post is really a scene setter where I explain how I got to this point, and [...]
Ultimate Coder – Week 3: Blog posting [Technical Blog]
Posted: 4 Mar 2013   Updated: 4 Mar 2013   Views: 1,424   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 1   Downloaded: 0
This is a copy of the post I made on the Intel site here. For the duration of the contest, I am posting a weekly blog digest of my progress with using the Perceptual Computing items. This weeks post shows how Huda has evolved from the application that was created at the end of the first [...]
Ultimate Coder – The pursuit of Bacon [Technical Blog]
Posted: 19 Mar 2013   Updated: 19 Mar 2013   Views: 1,429   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This is a copy of the post I made on the Intel site here. For the duration of the contest, I am posting a weekly blog digest of my progress with using the Perceptual Computing items. This weeks post shows how Huda has evolved from the application that was created at the end of the fourth week. [...]

Code Generation

You see, you don’t always need code behind. [Technical Blog]
Posted: 8 Jun 2011   Updated: 8 Jun 2011   Views: 8,142   Rating: 4.80/5    Votes: 4   Popularity: 2.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
In this post, I’m going to demonstrate a simple technique to add resize and close functionality to window buttons when you want to custom draw your window chrome without having to add code behind the window.

Uncategorised Technical Blogs

This is me kissing MVPship goodbye forever [Technical Blog]
Posted: 7 Mar 2011   Updated: 7 Mar 2011   Views: 5,749   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
Kissing MVPship goodbye forever
Losing your identity [Technical Blog]
Posted: 13 May 2011   Updated: 13 May 2011   Views: 3,189   Rating: 5.00/5    Votes: 3   Popularity: 2.39
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
Recently I’ve had time to revisit the question of identity columns (or sequences if you like). A client had come up with a screen that they really wanted us to incorporate in to their application, and the design of it had been done by some of their business analysts. One of the fields that was
Ultimate Coder – Ma il Mio Mistero è Chiuso In Me [Technical Blog]
Posted: 12 Mar 2013   Updated: 12 Mar 2013   Views: 1,015   Rating: 5.00/5    Votes: 1   Popularity: 0.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 0   Downloaded: 0
This is a copy of the post I made on the Intel site here. For the duration of the contest, I am posting a weekly blog digest of my progress with using the Perceptual Computing items. This weeks post shows how Huda has evolved from the application that was created at the end of the third week. [...]

Average tips rating: 4.94

Programming Tips

MVVM Friendly DataTemplate switching [Tip/Trick]
Posted: 14 Jun 2011   Updated: 14 Jun 2011   Views: 9,246   Rating: 5.00/5    Votes: 6   Popularity: 3.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 9   Downloaded: 0
Switching data templates entirely in XAML.
Don't count spaces when counting words. [Tip/Trick]
Posted: 17 Mar 2010   Updated: 17 Oct 2011   Views: 42,075   Rating: 4.89/5    Votes: 24   Popularity: 6.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 19   Downloaded: 0
Over the last couple of days I've seen numerous examples of people posting about how to count words in a sentence. Disturbingly, these postings recommend suggest counting the number of spaces in the sentence and use that as the basis of a word count.You may be asking why this is a problem. Well,...

Installation

Creating MSBuild projects from .sln files. [Tip/Trick]
Posted: 6 Apr 2011   Updated: 6 Apr 2011   Views: 17,338   Rating: 4.92/5    Votes: 10   Popularity: 4.90
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 0
If you want to create MSBuild files, and only have Visual Studio solutions, take heart - there is a trick that will help you out.

Pete O'Hanlon
CEO
United Kingdom United Kingdom
Member
A developer for more years than I care to remember. I live in the North East of England with 2 wonderful daughters and a wonderful wife.
 
I am not the Stig, but I do wish I had Lotus Tuned Suspension.


Advertise | Privacy | Mobile
Web02 | 2.6.130516.1 | Last Updated 21 May 2013
Copyright © CodeProject, 1999-2013
All Rights Reserved. Terms of Use
Layout: fixed | fluid