Skip to main content
Email Password   helpLost your password?

Articles by Sacha Barber (83 articles found)

Average article rating: 4.50

Smart Client

Sonic : A WPF (hybrid smart client) searchable media library
Last Updated: 21 Feb 2009   Page Views: 77,496   Rating: 4.83/5    Votes: 180   Popularity: 10.90   Bookmark Count: 208
Licence: The Code Project Open License (CPOL)   
A queryable working MP3 player, using some cool LINQ stuff
GeoPlaces : hybrid smart client, involving RESTful WCF/WPF and more
Last Updated: 8 Jun 2009   Page Views: 46,702   Rating: 4.81/5    Votes: 104   Popularity: 9.70   Bookmark Count: 163
Licence: The Code Project Open License (CPOL)   
A nice explar of how to use RESTful WCF and WPF

ASP.NET

Simple web based obfuscation
Last Updated: 30 Jan 2007   Page Views: 25,933   Rating: 3.87/5    Votes: 20   Popularity: 5.03   Bookmark Count: 31
Protect sesitive data from nasty web bots using server / client obfuscation methods

ASP.NET Controls

Using JavaScript To Select GridView Rows
Last Updated: 22 May 2007   Page Views: 120,371   Rating: 4.50/5    Votes: 75   Popularity: 8.44   Bookmark Count: 135
Licence: The Code Project Open License (CPOL)   
Using JavaScript To Select GridView Rows

Charts, Graphs and Images

SQL Database Image Storage & Easy Thumbnails
Last Updated: 17 May 2007   Page Views: 138,605   Rating: 4.53/5    Votes: 51   Popularity: 7.73   Bookmark Count: 217
Shows how to store images in SQL Database Image Storage & create Thumnails easiliy from

Silverlight

Silverlight 1.1 Fun and Games
Last Updated: 1 Nov 2007   Page Views: 110,388   Rating: 4.63/5    Votes: 112   Popularity: 9.49   Bookmark Count: 195
Silverlight 1.1 Fun and Games
DeepZoom
Last Updated: 24 Feb 2009   Page Views: 35,459   Rating: 4.83/5    Votes: 35   Popularity: 7.46   Bookmark Count: 73
Licence: The Code Project Open License (CPOL)   
An article showing how to do DeepZoom in Silverlight 2.0

Office Development

How to export GridView to Excel, render cells, add WordArt, and fill a custom template
Last Updated: 9 Nov 2006   Page Views: 150,317   Rating: 4.33/5    Votes: 29   Popularity: 6.33   Bookmark Count: 142
Export Gridview to Excel, render cells, add WordArt, and fill a custom template.

.NET Framework

AddIn Enabled Applications
Last Updated: 7 May 2008   Page Views: 31,941   Rating: 4.78/5    Votes: 61   Popularity: 8.54   Bookmark Count: 194
Licence: The Code Project Open License (CPOL)   
Using the AddIn model pipeline

LINQ

A Journey into Expressions
Last Updated: 1 Nov 2008   Page Views: 28,545   Rating: 4.59/5    Votes: 47   Popularity: 7.67   Bookmark Count: 82
Licence: The Code Project Open License (CPOL)   
A journey into Expressions

Vista API

A Sneaky Peek At Orcas
Last Updated: 30 Mar 2007   Page Views: 21,948   Rating: 3.44/5    Votes: 26   Popularity: 4.86   Bookmark Count: 16
A Sneaky Peek At Visual Studio 9 (Codenamed Orcas)
LINQ Introduction Part 1 Of 3
Last Updated: 11 Apr 2007   Page Views: 155,464   Rating: 4.66/5    Votes: 107   Popularity: 9.46   Bookmark Count: 321
Licence: The Code Project Open License (CPOL)   
An introduction to LINQ
DLINQ Introduction Part 2 Of 3
Last Updated: 16 Apr 2007   Page Views: 77,788   Rating: 4.59/5    Votes: 57   Popularity: 8.05   Bookmark Count: 145
Licence: The Code Project Open License (CPOL)   
An introduction to LINQ
XLINQ Introduction Part 3 Of 3
Last Updated: 24 May 2007   Page Views: 67,007   Rating: 4.66/5    Votes: 50   Popularity: 7.92   Bookmark Count: 132
Licence: The Code Project Open License (CPOL)   
An introduction to LINQ

Windows Communication Foundation

WCF / WPF Chat Application
Last Updated: 27 Jul 2007   Page Views: 382,077   Rating: 4.86/5    Votes: 296   Popularity: 12.02   Bookmark Count: 667
How to create a peer-to-peer chat application using Windows Communication Foundation
WCF : A few tips
Last Updated: 27 Jun 2008   Page Views: 21,297   Rating: 3.99/5    Votes: 41   Popularity: 6.43   Bookmark Count: 74
Licence: The Code Project Open License (CPOL)   
A few tips when working with WCF

Windows Presentation Foundation

WPF 3D : Part 2 of n
Last Updated: 14 Apr 2008   Page Views: 47,166   Rating: 4.83/5    Votes: 52   Popularity: 8.29   Bookmark Count: 95
Licence: The Code Project Open License (CPOL)   
A WPF 3D Panel that allows tabbing, and activates current item
Creating and consuming a custom WPF control
Last Updated: 1 Mar 2007   Page Views: 52,114   Rating: 4.08/5    Votes: 29   Popularity: 5.97   Bookmark Count: 60
Creating and consuming a custom WPF control
WPF Interactive Image Cropping Control
Last Updated: 6 Sep 2007   Page Views: 91,201   Rating: 4.73/5    Votes: 39   Popularity: 7.52   Bookmark Count: 87
WPF Interactive Image Cropping Control
WPF Flickr Viewer Using XLINQ
Last Updated: 24 Jun 2008   Page Views: 64,021   Rating: 4.50/5    Votes: 56   Popularity: 7.87   Bookmark Count: 107
Licence: The Code Project Open License (CPOL)   
WPF Flickr Viewer Using XLINQ
WPF : A graph control
Last Updated: 1 Feb 2009   Page Views: 36,662   Rating: 4.76/5    Votes: 94   Popularity: 9.40   Bookmark Count: 113
Licence: The Code Project Open License (CPOL)   
A WPF graph control with autoscaling and historical data support
WPF : A Simple Color Picker With Preview
Last Updated: 2 Feb 2009   Page Views: 21,035   Rating: 4.80/5    Votes: 31   Popularity: 7.16   Bookmark Count: 48
Licence: The Code Project Open License (CPOL)   
WPF : A Simple Color Picker With Preview
WPF : Selection made better
Last Updated: 3 Jul 2009   Page Views: 12,545   Rating: 4.77/5    Votes: 46   Popularity: 7.93   Bookmark Count: 58
Licence: The Code Project Open License (CPOL)   
A better selection option for users
WPF : Sticky Notes ListBox
Last Updated: 4 Nov 2009   Page Views: 32,881   Rating: 4.56/5    Votes: 56   Popularity: 7.97   Bookmark Count: 118
Licence: The Code Project Open License (CPOL)   
A notes listbox that you could use in your own app
WPF: A Beginner's Guide - Part 5 of n
Last Updated: 22 May 2008   Page Views: 122,165   Rating: 4.81/5    Votes: 103   Popularity: 9.67   Bookmark Count: 217
Licence: The Code Project Open License (CPOL)   
An introduction into WPF Databinding
WPF : Validation of business objects, a simpler approach
Last Updated: 20 Jul 2008   Page Views: 24,267   Rating: 4.53/5    Votes: 33   Popularity: 6.87   Bookmark Count: 46
Licence: The Code Project Open License (CPOL)   
An article on how to simplify the WPF validation process
WPF: How To Bind to Generic Methods
Last Updated: 6 Dec 2008   Page Views: 15,048   Rating: 4.81/5    Votes: 22   Popularity: 6.45   Bookmark Count: 30
Licence: The Code Project Open License (CPOL)   
An article which shows how to bind to generic methods
.NET 3.0 WPF Tools && Examples
Last Updated: 22 Mar 2007   Page Views: 158,227   Rating: 4.38/5    Votes: 56   Popularity: 7.67   Bookmark Count: 197
An article which shows how to achieve some of the common XAML concepts, and explains
Adventures into Ink API using WPF
Last Updated: 7 Jun 2007   Page Views: 43,534   Rating: 4.66/5    Votes: 29   Popularity: 6.81   Bookmark Count: 45
Adventures into Ink API using WPF
A simple WPF media player with media item list
Last Updated: 13 Sep 2007   Page Views: 66,462   Rating: 4.63/5    Votes: 30   Popularity: 6.83   Bookmark Count: 67
A simple WPF media player with media item list
WPF : The Classic Snakes WPF'ed
Last Updated: 24 Oct 2007   Page Views: 46,981   Rating: 4.70/5    Votes: 51   Popularity: 8.02   Bookmark Count: 68
WPF : The Classic Snakes WPF'ed
A Simple WPF Explorer Tree
Last Updated: 8 Nov 2007   Page Views: 61,825   Rating: 4.40/5    Votes: 56   Popularity: 7.69   Bookmark Count: 72
A Simple WPF Explorer Tree
MyFriends : A simple contact keeper using XLINQ/LINQ/WPF
Last Updated: 18 Jan 2008   Page Views: 70,352   Rating: 4.49/5    Votes: 83   Popularity: 8.62   Bookmark Count: 169
Licence: The Code Project Open License (CPOL)   
A simple contact keeper using XLINQ/LINQ/WPF
WPF Amazon Explorer Using 3D
Last Updated: 27 Feb 2008   Page Views: 68,924   Rating: 4.74/5    Votes: 53   Popularity: 8.18   Bookmark Count: 97
Licence: The Code Project Open License (CPOL)   
WPF Amazon Explorer Using 3D
WPF : A Beginners guide part 3 of n
Last Updated: 11 Mar 2008   Page Views: 85,299   Rating: 4.53/5    Votes: 68   Popularity: 8.31   Bookmark Count: 161
Licence: The Code Project Open License (CPOL)   
An introduction into RoutedEvents / RoutedCommands
WPF: A Beginner's Guide - Part 4 of n
Last Updated: 11 Mar 2008   Page Views: 62,469   Rating: 4.55/5    Votes: 84   Popularity: 8.76   Bookmark Count: 144
Licence: The Code Project Open License (CPOL)   
An introduction into WPF Dependancy Properties
Fun With Physics
Last Updated: 3 Apr 2008   Page Views: 116,285   Rating: 4.84/5    Votes: 138   Popularity: 10.36   Bookmark Count: 263
Licence: The Code Project Open License (CPOL)   
WPF: A Beginner's Guide series, end exemplar and fun with physics
An article on sorting ItemsControl (with some bonuses)
Last Updated: 29 May 2008   Page Views: 36,296   Rating: 4.51/5    Votes: 41   Popularity: 7.27   Bookmark Count: 51
Licence: The Code Project Open License (CPOL)   
An article on sorting ItemsControl (with some bonuses)
Marsa : A 3D Approach to XML read data
Last Updated: 30 Jun 2008   Page Views: 61,720   Rating: 4.89/5    Votes: 104   Popularity: 9.87   Bookmark Count: 147
Licence: The Code Project Open License (CPOL)   
WPF : An article on using 3D visualization of an RSS feed
Stream YouTube Videos In WPF
Last Updated: 30 Jun 2008   Page Views: 43,352   Rating: 4.80/5    Votes: 39   Popularity: 7.63   Bookmark Count: 75
Licence: The Code Project Open License (CPOL)   
WPF : A simple article on using WebBrowser to Stream YouTube videos
Simple slide game using Viewbox
Last Updated: 9 Aug 2008   Page Views: 21,783   Rating: 4.71/5    Votes: 22   Popularity: 6.32   Bookmark Count: 30
Licence: The Code Project Open License (CPOL)   
A simple 9 peice puzzle using ImageBrush.ViewBox
Binding and using Friendly enums in WPF
Last Updated: 19 Sep 2008   Page Views: 21,623   Rating: 4.79/5    Votes: 31   Popularity: 7.15   Bookmark Count: 41
Licence: The Code Project Open License (CPOL)   
Binding and using Friendly enums in WPF
WPF : How to create Styles in code/and magical Content
Last Updated: 26 Sep 2008   Page Views: 17,655   Rating: 4.66/5    Votes: 27   Popularity: 6.67   Bookmark Count: 38
Licence: The Code Project Open License (CPOL)   
WPF : How to create Styles in code/and magical Content
WPF : A 3D screensaver written in WPF
Last Updated: 12 Oct 2008   Page Views: 37,465   Rating: 4.75/5    Votes: 56   Popularity: 8.30   Bookmark Count: 119
Licence: The Code Project Open License (CPOL)   
WPF : A 3D screensaver written in WPF
Dynamic LINQ To Entities Queries Using WCF/WPF demo code
Last Updated: 30 Nov 2008   Page Views: 41,941   Rating: 4.88/5    Votes: 69   Popularity: 8.98   Bookmark Count: 131
Licence: The Code Project Open License (CPOL)   
Demonstrates a method of dynamic query across WCF service boundaries
Total View Validation
Last Updated: 23 Jan 2009   Page Views: 28,638   Rating: 4.73/5    Votes: 53   Popularity: 8.15   Bookmark Count: 104
Licence: The Code Project Open License (CPOL)   
Cross business object validation a more centric view
WPF : FlipTile 3D
Last Updated: 21 May 2009   Page Views: 25,826   Rating: 4.71/5    Votes: 58   Popularity: 8.31   Bookmark Count: 65
Licence: The Code Project Open License (CPOL)   
WPF : A Demo Of Using The Onyx WPF Framework
Using IronPython in WPF to Evaluate Expressions
Last Updated: 17 Jul 2009   Page Views: 3,914   Rating: 4.74/5    Votes: 12   Popularity: 5.12   Bookmark Count: 11
Licence: The Code Project Open License (CPOL)   
Using IronPython in WPF to evaluate expressions
WPF: If Heineken did MVVM Frameworks Part 6 of n
Last Updated: 4 Sep 2009   Page Views: 12,262   Rating: 4.70/5    Votes: 37   Popularity: 7.37   Bookmark Count: 27
Licence: The Code Project Open License (CPOL)   
It would probably be like Cinch a MVVM framework for WPF
WPF: If Heineken did MVVM Frameworks Part 1 of n
Last Updated: 4 Sep 2009   Page Views: 29,232   Rating: 4.53/5    Votes: 60   Popularity: 8.06   Bookmark Count: 126
Licence: The Code Project Open License (CPOL)   
It would probably be like Cinch a MVVM framework for WPF
WPF : If Heineken did MVVM Frameworks Part 2 of n
Last Updated: 16 Oct 2009   Page Views: 36,568   Rating: 4.86/5    Votes: 85   Popularity: 9.37   Bookmark Count: 81
Licence: The Code Project Open License (CPOL)   
It would probably be like Cinch a MVVM framework for WPF
WPF: If Heineken did MVVM Frameworks Part 5 of n
Last Updated: 17 Oct 2009   Page Views: 12,776   Rating: 4.67/5    Votes: 43   Popularity: 7.62   Bookmark Count: 29
Licence: The Code Project Open License (CPOL)   
It would probably be like Cinch a MVVM framework for WPF
WPF: If Heineken did MVVM Frameworks Part 4 of n
Last Updated: 17 Oct 2009   Page Views: 13,863   Rating: 4.79/5    Votes: 52   Popularity: 8.22   Bookmark Count: 39
Licence: The Code Project Open License (CPOL)   
It would probably be like Cinch a MVVM framework for WPF
WPF : If Heineken did MVVM Frameworks Part 3 of n
Last Updated: 17 Oct 2009   Page Views: 19,414   Rating: 4.82/5    Votes: 60   Popularity: 8.58   Bookmark Count: 39
Licence: The Code Project Open License (CPOL)   
It would probably be like Cinch a MVVM framework for WPF
Cinch MVVM Framework Code Generator
Last Updated: 28 Oct 2009   Page Views: 14,378   Rating: 4.82/5    Votes: 79   Popularity: 9.14   Bookmark Count: 65
Licence: The Code Project Open License (CPOL)   
A code generator for my Cinch MVVM Framework
Comparing Flash and WPF
Last Updated: 7 Nov 2009   Page Views: 90,066   Rating: 4.18/5    Votes: 87   Popularity: 8.10   Bookmark Count: 106
Licence: The Code Project Open License (CPOL)   
Comparing Flash and WPF
WPF : A* search
Last Updated: 8 Nov 2009   Page Views: 6,296   Rating: 4.87/5    Votes: 59   Popularity: 8.62   Bookmark Count: 54
Licence: The Code Project Open License (CPOL)   
An AI search application using A* algorithm
WPF: A Beginner's Guide - Part 1 of n
Last Updated: 13 Feb 2008   Page Views: 303,470   Rating: 4.81/5    Votes: 442   Popularity: 12.73   Bookmark Count: 709
Licence: The Code Project Open License (CPOL)   
An introduction into the WPF layout system
A Spider type control tree thingy for WPF
Last Updated: 21 Sep 2008   Page Views: 28,338   Rating: 4.86/5    Votes: 56   Popularity: 8.49   Bookmark Count: 96
Licence: The Code Project Open License (CPOL)   
A Spider type control tree thingy for WPF
Tips on how to write well behaved WPF controls
Last Updated: 27 Feb 2008   Page Views: 35,845   Rating: 4.33/5    Votes: 28   Popularity: 6.27   Bookmark Count: 62
Licence: The Code Project Open License (CPOL)   
Tips on how to write well behaved WPF controls
WPF: A Beginner's Guide - Part 6 of n
Last Updated: 5 Apr 2008   Page Views: 72,495   Rating: 4.78/5    Votes: 60   Popularity: 8.50   Bookmark Count: 128
Licence: The Code Project Open License (CPOL)   
An introduction into WPF Styles And Templates
WPF : A Beginners guide part 2 of n
Last Updated: 11 Mar 2008   Page Views: 92,965   Rating: 4.57/5    Votes: 99   Popularity: 9.12   Bookmark Count: 185
Licence: The Code Project Open License (CPOL)   
An introduction into XAML / code and WPF resources
WPF 3D : Part 1 of n
Last Updated: 27 Mar 2008   Page Views: 47,845   Rating: 4.69/5    Votes: 33   Popularity: 7.12   Bookmark Count: 69
Licence: The Code Project Open License (CPOL)   
Excursions and deviations into the dark recesses of my mind

C#

Remote control media player
Last Updated: 11 Feb 2007   Page Views: 67,776   Rating: 4.52/5    Votes: 25   Popularity: 6.32   Bookmark Count: 91
An article which shows how to remotley control a media player
AI : Dawkins Biomorphs / And other evolving creatures
Last Updated: 29 Jan 2007   Page Views: 44,656   Rating: 4.59/5    Votes: 30   Popularity: 6.78   Bookmark Count: 40
An implementation of Dawkins biomorphs and some more crazy evolving creatures
AI : Neural Network for beginners (Part 3 of 3)
Last Updated: 29 Jan 2007   Page Views: 81,458   Rating: 4.60/5    Votes: 69   Popularity: 8.46   Bookmark Count: 157
AI : An introduction into Neural Networks (Multi-layer networks / Trained by Microbial GA)
A Really Vain "How are my articles doing" web spider
Last Updated: 29 Jan 2007   Page Views: 23,912   Rating: 3.76/5    Votes: 30   Popularity: 5.55   Bookmark Count: 37
Licence: The Code Project Open License (CPOL)   
A simply web spider to see fetch codeproject articles
Easily apply visual theming to windows forms for .NET v1.1
Last Updated: 1 Apr 2007   Page Views: 21,255   Rating: 3.78/5    Votes: 19   Popularity: 4.83   Bookmark Count: 18
An article which shows how to easily apply windows XP themes to windows forms in .NET v1.1
100% Reflective Class Diagram Creation Tool
Last Updated: 12 Apr 2007   Page Views: 486,380   Rating: 4.88/5    Votes: 426   Popularity: 12.82   Bookmark Count: 872
Licence: The Code Project Open License (CPOL)   
100% Reflective Class Diagram Creation Tool
Dynamic Creation Of Assemblies/Apps
Last Updated: 27 Jan 2008   Page Views: 18,690   Rating: 4.47/5    Votes: 33   Popularity: 6.79   Bookmark Count: 68
Licence: The Code Project Open License (CPOL)   
How to use CodeDom and CompilerServices to dynamically create Assemblies/App
DI/IOCs
Last Updated: 2 Jan 2009   Page Views: 10,374   Rating: 4.58/5    Votes: 15   Popularity: 5.39   Bookmark Count: 52
Licence: The Code Project Open License (CPOL)   
A look at Dependency Injection and IOC containers

Algorithms & Recipes

AI - Simple Genetic Algorithm (GA) to solve a card problem
Last Updated: 8 Nov 2006   Page Views: 64,515   Rating: 4.58/5    Votes: 40   Popularity: 7.34   Bookmark Count: 81
A simple Genetic Algorithm (GA) to solve a card problem.
AI Search to Solve the Missionaries and Cannibals Problem
Last Updated: 3 Nov 2006   Page Views: 38,771   Rating: 4.12/5    Votes: 16   Popularity: 4.96   Bookmark Count: 39
An AI search to solve the Missionaries and Cannibals problem.
AI : Neural Network for beginners (Part 2 of 3)
Last Updated: 29 Jan 2007   Page Views: 78,876   Rating: 4.78/5    Votes: 78   Popularity: 9.05   Bookmark Count: 150
AI : An Introduction into Neural Networks (Multi-layer networks / Back Propagation)
AI : Neural Network for beginners (Part 1 of 3)
Last Updated: 16 May 2007   Page Views: 225,008   Rating: 4.80/5    Votes: 139   Popularity: 10.28   Bookmark Count: 272
AI : An introduction into Neural Networks
A simple SGML Parser and Visitor pattern loveliness
Last Updated: 11 Jan 2009   Page Views: 11,136   Rating: 4.81/5    Votes: 19   Popularity: 6.16   Bookmark Count: 33
Licence: The Code Project Open License (CPOL)   
A look at the Visitor pattern, and a Reflective version

Internet / Network

Retreiving a list of network computer names using C#
Last Updated: 26 Oct 2006   Page Views: 93,839   Rating: 4.45/5    Votes: 34   Popularity: 6.82   Bookmark Count: 87
An article which describes how to obtain a list of network computer names using C# and the NetServerEnum function from the Netapi32.dll.

Threads, Processes & IPC

Tasks/Continuations and Death of the ThreadPool?
Last Updated: 15 Aug 2009   Page Views: 5,623   Rating: 4.44/5    Votes: 15   Popularity: 5.22   Bookmark Count: 12
Licence: The Code Project Open License (CPOL)   
Using the VS2010 Tasks namespace
Beginners Guide To Threading In .NET Part 1 of n
Last Updated: 9 Aug 2008   Page Views: 154,602   Rating: 4.66/5    Votes: 331   Popularity: 11.75   Bookmark Count: 596
Licence: The Code Project Open License (CPOL)   
Beginners Guide To Threading In .NET
Beginners Guide To Threading In .NET Part 5 of n
Last Updated: 10 Aug 2008   Page Views: 37,785   Rating: 4.65/5    Votes: 79   Popularity: 8.83   Bookmark Count: 170
Licence: The Code Project Open License (CPOL)   
Beginners Guide To Threading In .NET
Beginners Guide To Threading In .NET Part 2 of n
Last Updated: 10 Aug 2008   Page Views: 93,079   Rating: 4.67/5    Votes: 196   Popularity: 10.71   Bookmark Count: 293
Licence: The Code Project Open License (CPOL)   
Beginners Guide To Threading In .NET
Beginners Guide To Threading In .NET Part 3 of n
Last Updated: 10 Aug 2008   Page Views: 44,639   Rating: 4.71/5    Votes: 177   Popularity: 10.59   Bookmark Count: 202
Licence: The Code Project Open License (CPOL)   
Beginners Guide To Threading In .NET
Beginners Guide To Threading In .NET Part 4 of n
Last Updated: 10 Aug 2008   Page Views: 29,369   Rating: 4.45/5    Votes: 83   Popularity: 8.55   Bookmark Count: 151
Licence: The Code Project Open License (CPOL)   
Beginners Guide To Threading In .NET

Document / View

Styling A ScrollViewer/Scrollbar In WPF [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 5,737   Rating: 5.00/5    Votes: 3   Popularity: 2.39   Bookmark Count: 6
Licence: The Code Project Open License (CPOL)   
A while back I was looking at the Infragistics WPf showcase,Tangerine and I was quite jealous about the scrollbars that they managed to use. I mean styling a Button is one thing, but the ScrollBar is made of lost of nasty different control parts, (Part_XXX elements). Incidently I wrote an article ab
WPF Flow Document For Beginners [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 5,328   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 7
Licence: The Code Project Open License (CPOL)   
As part of an article that I am creating for www.codeproject.com I decided to look into using the System.Windows.Documents namespace and have a look at seeing if I could make a semi-cool’ish looking document.Now when you use FlowDocuments, there are several container WPF container controls wh
Viewport2DVisual3D [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,667   Rating: 3.00/5    Votes: 2   Popularity: 0.90   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
A little while ago I wrote an article for www.codeproject.com about using 3D meshes in WPF that were hosting 2d controls, such as Grids, Lists, and User controls. The article which can be found right here if you are interested.The problem with the way that I did things in that article was that I us

Progress Controls

WPF : Circular Progress Bar [Technical Blog]
Last Updated: 22 Jun 2009   Page Views: 14,030   Rating: 3.79/5    Votes: 10   Popularity: 3.79   Bookmark Count: 28
Licence: The Code Project Open License (CPOL)   
Ever wanted a slightly different progress bar from the standard WPF Progress bar which looks like the following (IsIndeterminate is like the WinForms Marquee enum value) :  1: <ProgressBar VerticalAlignment="Top" 2: Height="22" IsIndeterminate="True"/&

Shell and IE programming

WPF : Binding to global App properties [Technical Blog]
Last Updated: 9 Apr 2009   Page Views: 2,762   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
I was working on something for an upcoming article that I am writing where I am messing around with 3D, and I was having a small issue with a VisualBrush (something to do with Freezable, I never did quite figure it out and came up with a better solution), but along the way of trying [...]

Custom Controls

Custom Tab Style [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,821   Rating: 4.00/5    Votes: 2   Popularity: 1.20   Bookmark Count: 8
Licence: The Code Project Open License (CPOL)   
A little while ago I mentioned about how important I thought it was to create a brand, and I showed you that you can create some interesting looking controls by Templating/Styling the standard System.Windows controls to create a brand.I also showed you a ScrollViewer and a Tab control which I had a
Creating Custom Panels In WPF [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,966   Rating: 4.69/5    Votes: 6   Popularity: 3.65   Bookmark Count: 13
Licence: The Code Project Open License (CPOL)   
WPF has a number of layout Panels that you could use straight out the box, there isWrapPanelStackPanelGridCanvasDockPanelAll of which are great, but occasionally you want something a little bit special. Whilst its probably true that you make most creations using a combination of the existing
Writing Custom LINQ Extension Methods [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,016   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 8
Licence: The Code Project Open License (CPOL)   
Microsoft have done a great job with LINQ IMHO. However there are times when it might be handy to create your own LINQ extension methods. LINQ extension methods can be applied to any type provided that the source is of type IEnumerable<T>, so thats really the only requirement.So how do we w

Win32/64 SDK & OS

WPF GlassEffect For Non Vista OS [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,933   Rating: 3.67/5    Votes: 2   Popularity: 1.10   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
For those of us fortunate enough to own Windows Vista we can now see transparent windows that show the content behind our window through a glass window. This is down to the Desktop Windows Manager ability to extend the glass effect into the client area. This is however only possible on Windows Vista

Windows Presentation Foundation

Selector DoubleClick Behaviour calling ViewModel ICommand [Technical Blog]
Last Updated: 8 Sep 2009   Page Views: 1,041   Rating: 5.00/5    Votes: 2   Popularity: 1.51   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
The other day I was at work and needed to use a WPF ListView (Selector) to call a ICommand in a ViewModel. Here is what I did.
WPF Localization [Technical Blog]
Last Updated: 11 Sep 2009   Page Views: 3,674   Rating: 4.43/5    Votes: 3   Popularity: 2.11   Bookmark Count: 9
Licence: The Code Project Open License (CPOL)   
recently at work I was asked to look into Localization techniques when working with WPF/XAML. There are some excellent sources around that cover the various different techniques such asthis excellent article which outlines the following techniquesUsing LocbamlLocbaml is a localization tool that M

C#

RESTful WCF Part 2 of n [Technical Blog]
Last Updated: 9 Apr 2009   Page Views: 2,248   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
A while back (can’t remember exactly when) I started saying I was going to write a bit about RESTFul WCF, you can see my 1st post at http://sachabarber.net/?p=460. In that post I mentioned that I would probably do the following:The schedule of posts is probably going to be something like this
MVVM Mediator Pattern [Technical Blog]
Last Updated: 9 Apr 2009   Page Views: 3,317   Rating: 4.80/5    Votes: 3   Popularity: 2.29   Bookmark Count: 11
Licence: The Code Project Open License (CPOL)   
About 1 year ago a good friend of mine Marlon Grech wrote a lovely article on MVC + M. You can read all about Marlons great article over at http://marlongrech.wordpress.com/2008/03/20/more-than-just-mvc-for-wpf/ Essentially what Marlon did was create a message system to allow disparate MVC c
RESTful WCF Part 1 of n [Technical Blog]
Last Updated: 9 Apr 2009   Page Views: 2,362   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
Lately I have been neglecting my  coding duties a bit in order to go out and get drunk actually. Which I have become a bit tired of now, so I am back onto the code, which is a good place.Now I am in the process of creating another article, and though I can not reveal [...]
Alternative Item Backgrounds The .NET 3.5 SP1 Way [Technical Blog]
Last Updated: 9 Apr 2009   Page Views: 1,419   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
The .NET 3.5 SP1 is full of tricks, just today I found a new property called AlternationCount which is available on all the ItemControl controls such as ItemControl, ListBox etc etc.This simply property can be used to provide some sort of alternative look based on the current value of the Alternati
A Little Chat About Code Sensible Code Generation [Technical Blog]
Last Updated: 9 Apr 2009   Page Views: 1,390   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
At work we all try and do our best to be productive. And as software developers we all probably have to author classes, that follow a familiar pattern. So if like me you are looking to work smart, you will undoubtedly look into code that writes code.This is good in my opinion, code generation can [
WPF : Dynamic Search Driven List Results [Technical Blog]
Last Updated: 9 Apr 2009   Page Views: 2,851   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
At work at the moment I am working on a way way cool customisable search that basically allows user to pick source entities and related entities and then pick what fields they would like to show, this is similar to Microsoft’s CRM Dynamics product, which allows very very sophisticated searches
Scrollable Friction Canvas For Silverlight [Technical Blog]
Last Updated: 9 Apr 2009   Page Views: 2,721   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
A while back I published a post about creating a friction enabled scrolling canvas in WPF (the old post can be found at http://sachabarber.net/?p=225), which I thought was way cool. It turns out that I was not the only one that thought this, and one of my WPF Buddies and fellow WPF Disciples Jeremia
WPF : Blend 3 Interactions / Behaviours [Technical Blog]
Last Updated: 20 Apr 2009   Page Views: 5,457   Rating: 5.00/5    Votes: 6   Popularity: 3.89   Bookmark Count: 14
Licence: The Code Project Open License (CPOL)   
As part of the new Blend3 release, there is a new Dll called "Microsoft.Expression.Interactivity.dll". This Dll is a pretty cool thing, as it formalises a pattern that many WPF developers have probably already used, in their own manner. It basically formalises the "Attached Behaviour

C++ / CLI

How To Create A WCF Client Proxy Without Having a Deployed WCF Service [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 4,414   Rating: 4.50/5    Votes: 3   Popularity: 2.15   Bookmark Count: 7
Licence: The Code Project Open License (CPOL)   
At work we are currently using a very very Agile process, which involves 1/4 hourly builds, which was all going brilliantly with a WPF solution and some Mocks and some NUnit test projects. Then we got to the point where we had to start building our WCF service and have the WPF project obtain a [...]

Date and Time

Calling Method Asynchronously With A Timeout [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,003   Rating: 3.00/5    Votes: 2   Popularity: 0.90   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
As part of an ongoing project I am just about to finish, I had a need to use a 3rd party web service. Now I am quite an cautious sort of chap when it comes to using web services. So I generally try and ensure that I try and make my code as robust as [...]

DLLs & Assemblies

Loading Assemblies in Separate Directories Into a New AppDomain [Technical Blog]
Last Updated: 12 Sep 2009   Page Views: 1,431   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 12
Licence: The Code Project Open License (CPOL)   
As some of you may know I have been working on a code generator for my Cinch MVVM framework, which I am pleased to say I am nearly done with. The last stumbling block has been that I need to extract a bunch of Namespaces from Assemblies that the main code referenced, which I want [...]

Threads, Processes & IPC

ThreadSafeObservableCollection [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,074   Rating: 3.50/5    Votes: 2   Popularity: 1.05   Bookmark Count: 6
Licence: The Code Project Open License (CPOL)   
As part of an ongoing article I am just about to finish, I needed a thread safe ObservableCollection<T>. Now the native .NET framework doesn’t have one of those, but luckily it supplies you with the right job to create one using some of the Threading APIs.Here is what I came up with.

Code Generation

T4 Template Goodness [Technical Blog]
Last Updated: 2 Nov 2009   Page Views: 708   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 1
Licence: The Code Project Open License (CPOL)   
I must admit I kinda missed the boat with T4 templates and what was capable of them, which annoys me, so I set out to try and have a look at them the other day, but low and behold Karl Shifflett has beaten me to it.

Uncategorised Technical Blogs

Useful WPF Threading Extension Method [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,904   Rating: 4.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 12
Licence: The Code Project Open License (CPOL)   
If you are working with WinForms or WPF you will more than likely run into some long running operation that you would like to run in a new thread. A novice may actually try and create a new Thread, which is ok, but that means you are responsible for the entire lifecycle of your new [...]
Restyling WPF ListView Header [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 3,051   Rating: 3.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
Of late I have been working with Net Advantage for WPF by Infragistics, but today we didn’t really need the fully functionality of a DataGrid and needed a rather lighter weight component (basically simply sorting list, no paging, no grouping…just a list), so I turned my attention back to
Generic Support In XAML [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,493   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 6
Licence: The Code Project Open License (CPOL)   
I have worked with XAML/WPF for a while now, but it wasn’t until recently I thought about generic support in XAML. I had no idea if it was possible, so I decided to have a quick look into this.Luckily the WPF team thought about this and do actually enable WPF developers the correct mechanisms
A little var love [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,122   Rating: 4.33/5    Votes: 2   Popularity: 1.30   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
As we all know one of the things that LINQ gives us is anonymous types that can be used by using the selection query operator, such as  1: var x = new { DateNow = DateTime.Now };  Which will give us an anonymous type with a single DateTime property called "DateNow", which i
How To Bind To Generic Method In XAML [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,747   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
As some of you that have worked with XAML and Generics may know, there is currently no support for Generics in XAML (that is no support for direct binding of methods that use generics).So consider this problemThat I have various bits of static data that are used through out the system, that are he
NUnit STA Threads & Testing WPF [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,704   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
During the course of the WPF project we are working on at work, we decided to go down the Agile/XP/TDD/Mocks/Continuous Integration route, which means Unit tests, lots of them.We are using NUnit, which I really like, but we are also using WPF, we are obviously using the latest/greatest patterns AKA
xamDataGrid RecordsFound Adorner [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,941   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
At work we are using the Infragistics .NET Advantage For WPF, one control of which is the xamDataGrid. We had a small requirement that was to show a label over the grid whenever no records were obtained for the xamDataGrid.DataSource.Now I could have tackled this in a simple manner where I placed t
Lookless Controls / Themes [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,373   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
One of the great things about WPF is that it separates the functionality of a control from the way it looks, this has become known as “lookless controls”. Which is great, but how can we ensure that our custom controls behave and also have a default look in the first place. This mini arti
.NET 3.5 SP1 StringFormat Binding Property Weirdness (A Rant) [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,721   Rating: 3.67/5    Votes: 2   Popularity: 1.10   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
There are some great things in the .NET 3.5 SP1 for sure, one of them is very useful which is the new StringFormat Binding property, which means that you do not need to write ValueConverters any more to create a formatted value for the Binding. I really like this little addition to WPF. The o
Reading Feeds with XLINQ [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,439   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
I have done a number of projects that all parse RSS Feeds using XLINQ. Which in itself is awesome, and much easier than using old XML techniques. Where I would so something like 1: public static List<PhotoInfo> LoadLatestPictures() 2: { 3: try 4: [...]
A Moan About ImageBrush In WPF [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,973   Rating: 5.00/5    Votes: 2   Popularity: 1.51   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
I am working on a 3D article in WPF, and I wanted to use an ImageBrush but was having some issues with it, so I decided to split this out into a small test app.I had the following setupAnd I simply wanted to test this out by creating an ImageBrush that I could use to [...]
Dragging Element In A Canvas [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,335   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 3
Licence: The Code Project Open License (CPOL)   
You know when there is something you have done a million times, but for the life of you, you just can’t seem to be able to remember how to do it. Well responding to mouse movements, is my bug bear.Today I had to drag an element in a container in WPF, and try as I [...]
Creating A Scrollable Control Surface In WPF [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,352   Rating: 4.43/5    Votes: 3   Popularity: 2.11   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
Have you ever had a requirement that called for the user to be able to scroll around a large object, such as a diagram. Well I have, and I have just started working on a hobby project where I need just such a feature. We probably all know that WPF has a ScrollViewer control which [...]
WPF : Binding to individual collection items (but not in a ItemsControl) [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,961   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
Well I had a great day yesterday, and quite a surprising one, I had an issue with an idea I was working on, so naturally I turned to Josh Smith.And guess what I, yes me the mere mortal managed to teach Josh something about WPF…Ha Ha, check that.So here is what I taught Josh…..(still ca
Cool Database Tool [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,049   Rating: 3.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
For the last 2 months Jan/Feb 2008, I have won the C# article of the month at codeproject, and as such, I receive a lot of free software. Which I normally don’t ever look at. The reason for this is simple. I write articles to share with people, so these free bits of software really [...]
All New .NET 3.5 3D Elements [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,721   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 6
Licence: The Code Project Open License (CPOL)   
I have started looking at 3D again in WPF. I have in the past blogged about the Viewport2DVisual3D 3D WPF element. Well for what I am working on I didn’t need to be able to put 2D interactive elements on a 3D surface, but I did want the 3D object to able to respond to [...]
Explicitly Updating And Validating Databindings In WPF [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,741   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 1
Licence: The Code Project Open License (CPOL)   
The other day I was working on something for a Codeproject article, where I needed to bind part of my UI to an underlying data object. I want to use all the good validation thing such as a Validation Style to use for my TextBox, and also the use of the new .NET 3.5 interface [...]
A WPF GiftWorse (AKA Xceed DataGrid for WPF) [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,524   Rating: 1.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 4
Licence: The Code Project Open License (CPOL)   
Now some time ago I wrote an article at Codeproject that was a simple contact keeper which used LINQ / XLINQ and one of its core requirements was an editable datagrid.The article was published at Codeproject and can be found right here.Those that use WPF will know that there is NO native control w
Winforms / WPF Interop [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,167   Rating: 4.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
In this blog entry I will discuss what you need to do to successfully interop Winforms with a WPF application and vice versaIn order to evaluate these 2 different interop methods, 2 demo projects have been created which carry out the functionality shown below :.NET Winforms userControl within a .
Consistent Window Look & Feel [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,443   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 2
Licence: The Code Project Open License (CPOL)   
As part of a beginners WPF series (Beginners WPF series) that I am writing at codeproject, I just start to write an article on DependancyProperties. As part of that, I started to write a bunch of demo projects to illustrate the joy of DependancyProperties to people. As a side effect, I had to think
How to stream XLINQ [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 1,460   Rating: 0.0 / 5    Votes: 0   Popularity: 0.0   Bookmark Count: 5
Licence: The Code Project Open License (CPOL)   
From time to time when you are using XLINQ to query XML data, you may find that you are dealing with a very large XML file. Loading a very large XML file using the standard XLINQ Load() method may not be appropraite due to the size of the XML file. Instead some sort of streaming [...]
SQL Server CLR Functions [Technical Blog]
Last Updated: 17 Jun 2009   Page Views: 2,393   Rating: 5.00/5    Votes: 3   Popularity: 2.39   Bookmark Count: 9
Licence: The Code Project Open License (CPOL)   
Today we had a requirement to do some pretty strange stuff in SQL which required us to call an encryption library in SQL server. This is something I had not done before, so I thought I would blog about it.There are several steps involved.1. Create the CLR Dll for the SQL function to use, and [...]
WPF : Tube Planner Using A Guided Search [Technical Blog]
Last Updated: 11 Nov 2009   Page Views: 625   Rating: 5.00/5    Votes: 1   Popularity: 0.00   Bookmark Count: 1
Licence: The Code Project Open License (CPOL)   
I recently came back from holiday and decided I needed to ease myself back into work gradually. For those that don’t know I studied AI as part of my degree and we had to do a search of a cut down version of the London underground for one of our many assignments. At the time I [...]
WPF : A True WPF Browser Control That Can Bend It Like Beckham [Technical Blog]
Last Updated: 18 Nov 2009   Page Views: 356   Rating: 4.00/5    Votes: 2   Popularity: 1.20   Bookmark Count: 2
Licence: The Code Project Open License (CPOL)   
A while ago I wanted to use the new .NET 3.5 SP1 WebBrowser control is a small demo WPF app that I was using to display streamed YouTube videos. And guess what, I was way disappointed the supposedly new rad control, was a con and it was actually no better than using a WPF Frame [...]

Sacha Barber


Member
I currently hold the following qualifications (amongst others, I also studied Music Technology and Electronics, for my sins)

- MSc (Passed with distinctions), in Information Technology for E-Commerce
- BSc Hons (1st class) in Computer Science & Artificial Intelligence

Both of these at Sussex University UK.

Award(s)

I am lucky enough to have won a few awards for Zany Crazy code articles over the years

  • Microsoft C# MVP 2009
  • Codeproject MVP 2009
  • Microsoft C# MVP 2008
  • Codeproject MVP 2008
  • And numerous codeproject awards which you can see over at my blog

Occupation: Software Developer (Senior)
Location: United Kingdom United Kingdom


Last Updated 20 Nov 2009 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2009