-
I have had some problems with using the FileSystemObject class, i got an app of the net that it to get files and folders off your computer and show them in a treeview, i would like to do something similar except if i add this:
Dim FSys As FileSystemObject
To my project i get an error, am i meant to add this class to my project somehow ?
P:S On my VB toolbar where the Run,Pause,Stop buttons are my stop button has dissapeared, how can i get it back/
-
This shows you how to use the FileSystemObject:http://msdn.microsoft.com/library/de...stemObject.htm
PS.Is your name Rich?
-
you will have to add a refernce to the FSO in the project menu, then declare the variable again.
Dim FSys AS NEW FileSystemObject
dunno about the stop button though!
-
-
It works for me now but if i try to add reference i get "Error Loading DLL", but what the heck it works be creating the object like ms say.
-
What am i meant to add refernce to ?