Author Archives: Robert Hill

WPF Pixel Shaders are HERE!

Checkout Greg Schechters’s blog! Finally we get hardware accelerated Bitmap effects, and it looks like they’re significantly easier to implement than those nasty slow ugly software based effects! <ugh> even thinking about throwing pixel around in a CLR based language … Continue reading

Posted in General | 6 Comments

WPF DataBinding and DBNulls

After spending a few hours with ADO.NET, typed dataset, and some WPF bindings I was feeling like I’d been 5 rounds with Mike Tyson. Well, it wasn’t that bad, but it just felt that bad. The trouble is the behaviour … Continue reading

Posted in General | Leave a comment

C# Extension Methods

Just a quick post.. thought I’d share a neat way of handling some legacy date nastyness from an oracle DB that I’m having to interface with. DateTime’s on this monstrosity of the 90’s are stored as the typical Unix Epoch … Continue reading

Posted in General | Leave a comment

WPF Bitmap Effects Revisited

Technorati Tags: WPF,BitmapEffect,Greyscale Ok, so the first pass was ok (apart from the messed up file uploads 🙁 thanks alot WLW! ) but there are still a few minor niggles. Firstly was the whole com registration deal. Whilst its not … Continue reading

Posted in General | 11 Comments

Greyscale Bitmap Effect for WPF

Technorati Tags: WPF,Greyscale,BitmapEffect   [ please see the THIS post about single assembly effects ] Whilst trawling the MSDN forums looking for a solution to a problem i was having (completely unrelated to bitmap effects – i’m easily distracted 😉 … Continue reading

Posted in General | 6 Comments

An evening with Derren Brown, and the Agile Manifesto

What a show. The man is simply amazing, magic or psychology, it doesn’t really matter, the end result is both stunning and completely mystifying. Some of the show was obvious trickery like the levitating spirit table), but in my opinion … Continue reading

Posted in General, Personal | Leave a comment

DataTemplate Triggers with animations in WPF

Technorati Tags: WPF,DataTrigger,Storyboard,Problem I’ve just had the displeasure of burning quite a few hours on a stupid problem with starting animations from a control template using data binding and datatriggers in WPF. I’ve solved it eventually but only after wasting … Continue reading

Posted in General | 5 Comments

Word Binary formats Vs WordprocessingML

I noticed today that Joel Spolsky had written an entry about how complicated the Word binary formats are now that Microsoft has finally released the full binary file formats. He notes that the spec is a whopping 349 pages, and … Continue reading

Posted in General | Leave a comment

Incremental searching using LINQ to XML

I have a requirement in the current project to provide a method of converting a title entered in an edit box, into a corresponding code number. The current customers implementation is page based (web style) where you enter words, and … Continue reading

Posted in General | Leave a comment

Cloverfield!

Wow, what a film. JJ Abrams – the boy done good. To do this film justice you need to see it on a screen as large as possible, but more importantly, the sound system needs to be capable of shaking … Continue reading

Posted in General, Personal | Leave a comment