I'm trying to write a small application that will simply check if there are any files in a certain folder. If any files are found, it will do some processing on them and then move them into a backup folder.
However, I'm receiving an error saying that the type "FileSystemObject" is undefined.
I've gone to Projects > Add Reference, and added "Microsoft Scripting Runtime" from the COM list. I've clicked select and its put it into the bottom box. However, when I go back in to the Projects > Add Reference, its no longer listed, so it seems its not adding the reference at all.
Any ideas where I'm going wrong?
However, I'm receiving an error saying that the type "FileSystemObject" is undefined.
I've gone to Projects > Add Reference, and added "Microsoft Scripting Runtime" from the COM list. I've clicked select and its put it into the bottom box. However, when I go back in to the Projects > Add Reference, its no longer listed, so it seems its not adding the reference at all.
Any ideas where I'm going wrong?