Why sometimes CreateObject("Scripting.FileSystemObject") doesn't work?

On some machines with Windows Xp or 2000, with VB 6.0 or VB 6.3

CreateObject("Scripting.FileSystemObject") returns no object. How can i fix if

Scrrun.dll is present.



Answer this question

Why sometimes CreateObject("Scripting.FileSystemObject") doesn't work?

  • Corinne

    on some machines it could be a third party application that is keeping the scripting object from being created...There are virus scanners and such that have an option to block the creation of scripting objects especially the Scripting.FSO...If you have the option try using System.IO namespace for working with the filesystem versus using the scripting object!

  • Why sometimes CreateObject("Scripting.FileSystemObject") doesn't work?