Thank you for your replies.
My form already had VB code attached to it, so I added the compiled dll to the project.
The error I show is what is returned from the dll - so don't know exactly where it comes.
Would you be able to provide a corrected dll so I don't have to convert the code provided ? - That could lead to additional erros :)
Catharine