Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook and VBA (http://www.outlookbanter.com/outlook-vba/)
-   -   CreateObject("Scripting.FileSystemObject") stopped working (http://www.outlookbanter.com/outlook-vba/40883-createobject-scripting-filesystemobject-stopped-working.html)

Andrew Hall NZ February 15th 07 04:49 AM

CreateObject("Scripting.FileSystemObject") stopped working
 
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




Eric Legault [MVP - Outlook] February 15th 07 08:18 PM

CreateObject("Scripting.FileSystemObject") stopped working
 
Try reregistering the drive:\Windows\System32\scrrun.dll file.

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Andrew Hall NZ" wrote:

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




Andrew Hall NZ February 15th 07 10:25 PM

CreateObject("Scripting.FileSystemObject") stopped working
 
Thanks, that did the trick, should have thought of it myself

Andrew

"Eric Legault [MVP - Outlook]" wrote:

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

--
Eric Legault (Outlook MVP, MCDBA, MCTS: Messaging & Collaboration)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Andrew Hall NZ" wrote:

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





All times are GMT +1. The time now is 02:06 PM.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2006 OutlookBanter.com