Hi,

Sorry, should have said that you need to add the following Imports statement:-

Code:
Imports System.IO
Cheers,

Ian