I'm using a data access page with a bunch of VBscripts, and I want to dump
changes to the access database into a text file. I'm attempting to use the
method shown at:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/sgprogrammingfilesystemobject.asp

but I am having no luck. I'm getting the following error:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q311269

I completed their "resolution" but nothing was changed/fixed.
Is there any other solution?

Re: Scripting.FileSystemObject by Roland

Roland
Tue Jun 21 10:59:45 CDT 2005

"mhuckaba" wrote in message
news:DAEDF6F5-7AA4-4BD0-95C7-E643BFA589E8@microsoft.com...
: I'm using a data access page with a bunch of VBscripts, and I want to dump
: changes to the access database into a text file. I'm attempting to use the
: method shown at:
:
:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/script56/html/sgprogrammingfilesystemobject.asp
:
: but I am having no luck. I'm getting the following error:
:
: http://support.microsoft.com/default.aspx?scid=kb;en-us;Q311269
:
: I completed their "resolution" but nothing was changed/fixed.
: Is there any other solution?

show the exact code you're using and specify if you're running this on your
client or on an ASP page.
If you're running local, unless you have XP, you may not have version 5.6.
To find out, type in: cscript
from command prompt.
Also, RTAV (Real-Time AntiVirus) apps can block scripting, e.g. Norton AV.
You will have to disable script blocking.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp




Re: Scripting.FileSystemObject by mhuckaba

mhuckaba
Tue Jun 21 11:34:04 CDT 2005


Dim fso, f1
Set fso = CreateObject("Scripting.FileSystemObject")
' Get a File object to query.
Set f1 = fso.GetFile("j:\database front\log.txt")
' Print information.
Response.Write "File last modified: "

This is a client page.
We're running on W2k, and I just installed 5.6 and it changed nothing.
I was just informed by our guy in charge of AntiVirus that our version is
blocking scripts.

Re: Scripting.FileSystemObject by Roland

Roland
Tue Jun 21 12:38:49 CDT 2005

"mhuckaba" wrote in message
news:AAED94B7-AB71-47D2-9C65-8529EA757AA8@microsoft.com...
:
: Dim fso, f1
: Set fso = CreateObject("Scripting.FileSystemObject")
: ' Get a File object to query.
: Set f1 = fso.GetFile("j:\database front\log.txt")
: ' Print information.
: Response.Write "File last modified: "
:
: This is a client page.
: We're running on W2k, and I just installed 5.6 and it changed nothing.
: I was just informed by our guy in charge of AntiVirus that our version is
: blocking scripts.

Then disable the script blocking.

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp