OK that was an embarrassingly simple solution. For some reason I have a VB.Net tendency to make things a lot more complicated then they need to be.

Thanks