Luke Smith Write today, wrong tomorrow

Got my bucket and spade out

I've just been playing around with Microsoft's Sandcastle CTP, a replacement for NDoc (RIP). No matter whose batch script I used, Sandcastle Helper, Sandcastle Batch, I kept getting the same error message which was stopping the generation of the chm. HHC6000: Error: An internal file could not be created. Make...

Creating a generic list from a SqlDataReader v1.1

Since writing the PopulateList method I've made a few improvements, with some pointers from Erik Porter. Firstly the interfaces can be passed a generic type, meaning IObjectPopulator can be set to return a type T instead of a object type saving a cast in the PopulateList<T> method. public interface IObjectPopulator<T> {    T...

Creating a generic list from a SqlDataReader

I've just been working on the data access layer for a project at work and found myself replicating alot of very similar code when it came to looping through the SqlDataReader and creating and populating a custom object for each IDataRecord (creating lists of projects, staff etc). I sat back...

X10 Macros

A few months ago I purchased some X10 modules to automate my house, being able to turn the lights on and off with a remote control from bed is probably the greatest application so far. But in the old house I wrote some software which interfaced with a CM12U device;...

Databinding rocks

If you haven't tried databinding in .net 2.0 yet, give it a go.

Imagine Cup on Channel9

Theres a video up on channel9 of the UK Imagine Cup team. Good luck to Andy and the others when they head of to India in August.

Ascii Worldcup

Fancy watching the worldcup on your pc? Well you can if you use telnet to conect to a server. Open up command prompt then type 'telnet diego.ascii-wm.net 2006' and stream the match. Oh btw it's all in ascii. The crazy thing is I get the ascii stream a few seconds...

Next please

This is a simple thing, but it caught me out briefly. I have some SQL that returns 3 results SELECT * FROM table WHERE field1 = @param1 SELECT * FROM table WHERE field2 = @param2 SELECT * FROM table WHERE field3 = @param3 Then in my Data Access Layer I...

Debugging XmlSerializer unhelpful exceptions

I've been getting the following error when trying to serialize an object in .NET File or assembly name zc1diojb.dll, or one of its dependencies, was not found. There is bugger all help given in the exception stack to help debug this problem, but I stumbled upon XmlSerializerPreCompiler by Chris Sell's...

See Windows Vista

Check out the seewindowsvista website for alook at the kind of applications you can expect in the future due to the new technologies in Windows Vista. Though due to WinFX (avalon and indigo) being ported to XP I expect some applications being able to run on XP also.