Hi Jochen,
Many thanks for the reply.
Had a look on server and all the same and permissions are OK.
Of course it does help if I copy over the Win32 APIs script library as well as my agent ..!!
All working as expected now I've done that.
I just copied the agent over and ran it. When I checked the agent itself, the Use statement was throwing the error, which pointed me towards the script library.
Apologies for wasting your time. Schoolboy oversight on my part.
Andy