I finally sorted it out, I found a missing resources error in the VB code but the resources.resx file was there so I added a new image to the resources and then it seemed to fix the broken link to the resources and all was well.
Thanks for your help