Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
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 · ·