
DeleteFile Type Library - Does anyone know?
I had already tried scrrun.dll and it doesn't work. I
switched to the Kill command and it does the job.
Thanks!!!
Quote:
>-----Original Message-----
>Hi,
>You're probably wanting the "Microsoft Scripting Runtime"
library
>(scrrun.dll). This contains a "FileSystemObject" class
that has a DeleteFile
Quote:
>method.
>Alternatively, you can just use the VBA 'Kill' statement
to delete a file.
>----
>Simon Lewis
>> Does anyone know which Type Library I need to choose in
>> the References? I can't get Access 2000 to let me use
>> this method, so I figure I need to add the library?????
>.