Stuart,
>There is obviously something very wrong here, fortunately I have just treated myself to a new laptop and it works on that.
You must have been a good boy! <g> On your old machine, it may be that you need to repair VS 2005 or reinstall it.
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com