Ok thanks for that Clootie.

I will see about possibility of upgrading the project to dx 9. That would simplify it.