PC Review


Reply
Thread Tools Rate Thread

Access 2007 & FileSystemObject Error

 
 
Ken
Guest
Posts: n/a
 
      27th Mar 2009
I added a reference to teh Microsoft Scripting Runtime (System32\scrrun.dll).

I started to add code to check a folder for files and each time I go to set
the folder my database crashes and restartes.

dim fso as FileSystemObj
dim objFolder as Folder

set objFolder =

and at this point the database crashes.

Is anyone else having problems with the scripting engine and Access 2007?

 
Reply With Quote
 
 
 
 
JP
Guest
Posts: n/a
 
      28th Mar 2009
Try qualifying your references.

Dim fso as Scripting.FileSystemObject
Dim objFolder As Scripting.Folder


HTH,
JP

"Ken" <(E-Mail Removed)> wrote in message
news:54C3A59C-D66B-44A4-9529-(E-Mail Removed)...
>I added a reference to teh Microsoft Scripting Runtime
>(System32\scrrun.dll).
>
> I started to add code to check a folder for files and each time I go to
> set
> the folder my database crashes and restartes.
>
> dim fso as FileSystemObj
> dim objFolder as Folder
>
> set objFolder =
>
> and at this point the database crashes.
>
> Is anyone else having problems with the scripting engine and Access 2007?
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FileSystemObject drive error =?Utf-8?B?NDExMA==?= Microsoft Access VBA Modules 4 21st Mar 2007 11:15 AM
IWshRuntime library access to FileSystemObject Valerie Hough Microsoft C# .NET 1 8th Jan 2007 11:42 PM
Error using FileSystemObject =?Utf-8?B?Y2hlcnJ5Ymxvc3NvbQ==?= Windows XP Internet Explorer 5 1st Feb 2006 06:05 PM
Access network shares with filesystemobject Josh Rolfe Microsoft ASP .NET 5 1st Sep 2005 11:50 PM
FileSystemObject Error AlexJ Microsoft Excel Programming 3 29th Feb 2004 10:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:45 PM.