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

File system error



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old January 15th 06, 02:59 PM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.outlook.program_vba
John
external usenet poster
 
Posts: 135
Default File system error

Hi

I am getting the 'User defined type not defined' on the line;

Dim fso As Scripting.FileSystemObject.

What am I doing wrong? What reference do I need to add? Do I need to
install/enable scripting on the win xp sp2 machine?

Thanks

Regards


Ads
  #2  
Old January 16th 06, 08:35 AM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.outlook.program_vba
Michael Bauer
external usenet poster
 
Posts: 435
Default File system error

Am Sun, 15 Jan 2006 13:59:46 -0000 schrieb John:

Please add a ref on "Microsoft Scripting Runtime".

--
Viele Gruesse / Best regards
Michael Bauer - MVP Outlook



Hi

I am getting the 'User defined type not defined' on the line;

Dim fso As Scripting.FileSystemObject.

What am I doing wrong? What reference do I need to add? Do I need to
install/enable scripting on the win xp sp2 machine?

Thanks

Regards

  #3  
Old January 19th 06, 02:17 PM posted to microsoft.public.outlook,microsoft.public.outlook.general,microsoft.public.outlook.program_vba
Dana DeLouis
external usenet poster
 
Posts: 6
Default File system error

Perhaps an alternative...

Dim fso
Set fso = CreateObject("Scripting.FileSystemObject")

HTH :)
--
Dana DeLouis
Win XP & Office 2003


"John" wrote in message
...
Hi

I am getting the 'User defined type not defined' on the line;

Dim fso As Scripting.FileSystemObject.

What am I doing wrong? What reference do I need to add? Do I need to
install/enable scripting on the win xp sp2 machine?

Thanks

Regards



 




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
Error on Importing PST file Ksaki Outlook - General Queries 5 December 7th 11 12:35 PM
NDR: "A configuration error in the e-mail system..." Anett Outlook - General Queries 8 June 26th 07 04:44 PM
same file, different system - page went missing? Cy Peh Outlook - Using Forms 4 March 4th 06 11:10 PM
getting error: this .pst file is not a valid personal folder file jen98 Outlook - Installation 1 February 2nd 06 12:37 AM
File system error John Outlook - General Queries 2 January 19th 06 02:17 PM


All times are GMT +1. The time now is 08:48 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.