calebS
asked on
What do I need to reference to access the FSO?
I am using Visual Basic 6.0, and am wanting to use a file system object to read the contents of a text file into a string.
However, fileSystemObject is not in my 'list' of objects.
I am assuming I need to reference a dll to allow this, can anyone help here?
Thanks,
cassandra.
However, fileSystemObject is not in my 'list' of objects.
I am assuming I need to reference a dll to allow this, can anyone help here?
Thanks,
cassandra.
Sorry! That'l be "Microsoft Scripting Runtime"
Obejct module name is scrrun.dll and its located in the system32 folder in your windows home folder. If its not available in teh list, try browsing to it and selecting it manually.
ASKER
windows scripting? Am I to assume by the name this is not the type of module that I want to be using in a desktop application?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I will, (and the points are yours) but my question stands (if you don't mind me asking), is the scripting runtime designed for scripting, is it what I should be using in a desktop application?
No. That is a generic TERM used to describe this. "Window Scripting Host" is kinda an application which can be used from VB using the "Microsoft Scripting Runtime" library.
Let me be more clear. In your application you will be referencing "Microsoft Scripting Runtime", which actually is "Window Scripting Host".
ASKER
okay thanks..
Form the list select "Window Scripting Host"