Did you remember to check the Microsoft Scripting Runtime in your References
for the project. Then declare a variable as a new filesystemobject. Then
declaring other variables as file or drive or folder or texstreams should
work. They should pop up on your list after you type the as.
----- Original Message -----
From: "Neil Newton" <neil_n@h...>
To: "professional vb" <pro_vb@p...>
Sent: Wednesday, November 14, 2001 1:31 AM
Subject: [pro_vb] Activating filesystems
Hi,
I've returned to VB after a year and would now like to use filesystems
instead of input statements (as recommeneded in the help files). I wrote
some code and it didn't recognize the types used by filesystems (I got a
compile error when I dimed a variable as type file for instance). I'm
assuming that I have to activate it by using project components or
references. Any help would be appreciated.
Thanks,
Neil