Hi Michel,
Add the following to the top of your file that contains your code
Imports Scripting
Also, just a question, why don't you use the System.IO classes?
>Why is it that within an ASPX file, I cannot create a FileSystemObject()?
>
>
>Set oFSO=CreateObject("Scripting.FileSystemObject")
>
-----------------------------------------
Cathi Gero, CPA
Prenia Software & Consulting Services
Microsoft C# / .NET MVP
Mere Mortals for .NET MVP
cgero@prenia.comwww.prenia.comWeblog: blogs.prenia.com/cathi