A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

CreateObject("Scripting.FileSystemObject") stopped working



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old February 15th 07, 04:49 AM posted to microsoft.public.outlook.program_vba
Andrew Hall NZ
external usenet poster
 
Posts: 2
Default 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



Ads
  #2  
Old February 15th 07, 08:18 PM posted to microsoft.public.outlook.program_vba
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default 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



  #3  
Old February 15th 07, 10:25 PM posted to microsoft.public.outlook.program_vba
Andrew Hall NZ
external usenet poster
 
Posts: 2
Default 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



 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
OLK2007 : The Oper Failed : Application.CreateObject("MAPI.Session Bill Billmire Outlook - Using Forms 3 January 7th 07 02:02 AM
"Reply All" in Outlook Express 6.0 has stopped working properly Gino Outlook Express 3 November 8th 06 07:52 PM
"people or distribution list" not working in MS Outlook Rules nonelite trader Outlook - General Queries 0 August 6th 06 09:39 PM
Include "Telecommuting" or "Teleworking" as a "Show time as" statu Gordon Greene Outlook - Calandaring 0 July 31st 06 04:37 PM
Auto accept "some" Recurring Meeting when working withe Resources Jens Outlook - Calandaring 3 July 17th 06 04:09 PM


All times are GMT +1. The time now is 06:14 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-2025 Outlook Banter.
The comments are property of their posters.