Now this is just killing me... I haven't programmed in VB for a while. Was pretty good with 6 or so I thought...
I'm trying to access and use the FileSystemObject in a module in VB (using Visual Studio 2010). I added Microsoft Scripting Runtime in the project references.
Now you'd think I'd be able to declare like this:
Dim fso As FileSystemObject
But no, the class is nonexistent. Not even there.
Nor can I do this:
Dim fld As Folder
Apparently they've made some rather large changes since I last developed..
This really stinks because I kinda need to do both of these things. Google and the like have produced nothing. Seems I can't find any help online, what turns up is for .NET only -- which I can't use on this little project.
What the heck happened??? How can I manipulate/modify/enumerate directories and files? Did they scrap the FileSystemObject altogether??? What else can I use to iterate files and directories?
Thanks in advance!
-Jason
I'm trying to access and use the FileSystemObject in a module in VB (using Visual Studio 2010). I added Microsoft Scripting Runtime in the project references.
Now you'd think I'd be able to declare like this:
Dim fso As FileSystemObject
But no, the class is nonexistent. Not even there.
Nor can I do this:
Dim fld As Folder
Apparently they've made some rather large changes since I last developed..
This really stinks because I kinda need to do both of these things. Google and the like have produced nothing. Seems I can't find any help online, what turns up is for .NET only -- which I can't use on this little project.
What the heck happened??? How can I manipulate/modify/enumerate directories and files? Did they scrap the FileSystemObject altogether??? What else can I use to iterate files and directories?
Thanks in advance!
-Jason