It sounds like you forgot to include the reference listed near the bottom of that page
For Windows-only, include a reference to "Microsoft Scripting Runtime"
Without that reference turned on, both those lines will fail to compile.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
|