Windows Scripting runtime is scrrun.dll. Use that one as the reference in
Tools, References. Then in the code use Dim fso As
Scripting.FileSystemObject and you will see that as you space after As one
of the choices is now Scripting.
Early binding means if you type Scripting. Intellisense opens and lists the
members of Scripting. Late binding is when you declare a variable as Object
or Variant or don't use an As clause. Then you have no intellisense.
--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003
Reminder Manager, Extended Reminders, Attachment Options
http://www.slovaktech.com/products.htm
"StargateFanFromWork" wrote in message
...
"Ken Slovak - [MVP - Outlook]" wrote in message
...
Sounds like I gave you a reference to the wrong library. Try using
Scripting for the FileSystemObject and early binding (Intellisense).
That's \Systeme32\Scrrun.dll. Use that without Michael's Object
declaration for fso and his set line.
Hi, Ken, thanks.
I might be grossly misinterpreting the above but if I'm to deduce
correctly, that I search for "Scripting for the FileSystemObject and early
binding (Intellisense)" in the references or something close to this (?).
The items in References that start with "script" are these:
scripto 1.0 Type Library
ScriptPW 1.0 Type Library
ScriptSigner
ScriptSubSys 1.0 Type Library
Or do I just browse to that "scrrun.dll" file (found in "scrrun.dll") or
is there something other than "script"-something? I looked under the i's
for "intellisense" but nothing there. Sorry to be such a noob re this but
this is all new to me lol.
Cheers.
D