A few years ago I created a VB program and now I'm trying to use a portion of the code in a new project, the problem is with "FileSystemObject", in the new code I get the error message "User-defined type not defined".
The way I was using it was as follows:
Dim Fso1 AS FileSystemObject
when I reload the old code after I type the "AS" I get a list box with the "FileSystemObject" as a choice, in the new code I don't.
I think I remember having to add somthing from the components list(not sure though, memory was the second thing to go).
The online documention only references the "CreateObject(xxxx)" way.
Please reply to my work email address [email protected]
Thanks in advance
0 · ·