CreateObject("Scripting.FileSystemObject") stopped working

A

Andrew Hall NZ

I have a script I have been using regularly which includes the lines

Dim fs As FileSystemObject
Set fs = CreateObject("Scripting.FileSystemObject")

Today the second line is suddenly giving me Automation Error, Library Not
Registered.

Since this used to work and the Library Microsoft Scripting Runtime IS
registered I am at a loss to understand what is going on.

I am hoping the problem is unrelated to a heap of Office updates that XP
installed for me today.

Andrew
 
E

Eric Legault [MVP - Outlook]

Try reregistering the <drive>:\Windows\System32\scrrun.dll file.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top