Outlook Banter

Outlook Banter (http://www.outlookbanter.com/)
-   Outlook - General Queries (http://www.outlookbanter.com/outlook-general-queries/)
-   -   File system error (http://www.outlookbanter.com/outlook-general-queries/256-file-system-error.html)

John January 15th 06 01:59 PM

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



Michael Bauer January 16th 06 07:35 AM

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


Dana DeLouis January 19th 06 01:17 PM

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





All times are GMT +1. The time now is 01:47 AM.

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