Re: Contents of a Directory
From: Tom Kaminski [MVP] ((A_at_T))
Date: 12/02/04
- Next message: Jacqueline Jaynes [MSFT]: "RE: IIS5 Error - Need Help!"
- Previous message: PBENISTY: "Re: Unable to receive message with SMTP/POP3 server on window2003"
- In reply to: Steven Livolsi: "Re: Contents of a Directory"
- Next in thread: Steven Livolsi: "Re: Contents of a Directory"
- Reply: Steven Livolsi: "Re: Contents of a Directory"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 2 Dec 2004 14:34:54 -0500
"Steven Livolsi" <steven.livolsi@ngc.com> wrote in message
news:O6HEqJJ2EHA.204@TK2MSFTNGP10.phx.gbl...
> Thanks.
>
> I tried using the File System Objects in my java scipt but it looks like
> the java script code bombed.
>
> It bombed on the statement:
>
> fso = new ActiveXObject("Scripting.FileSystemObject");
>
> If I comment out the above statement, my java script function does not
bomb.
>
> Is there a setting or something I need to do with my windows 2003 IIS
sever?
> Is there an include file I need?
>
> My java script is:
>
> <script language=javascript>
>
> function select_change()
> {
> .
> .
> .
> var fso;
> fso = new ActiveXObject("Scripting.FileSystemObject");
> .
> .
> .
> }
>
> </script>
>
You're trying to run this client-side? You can't use the FileSystemObject
in client-side browser code as that would be a security breach. You would
have to wrap it in a custom ActiveX and sign it.
- Next message: Jacqueline Jaynes [MSFT]: "RE: IIS5 Error - Need Help!"
- Previous message: PBENISTY: "Re: Unable to receive message with SMTP/POP3 server on window2003"
- In reply to: Steven Livolsi: "Re: Contents of a Directory"
- Next in thread: Steven Livolsi: "Re: Contents of a Directory"
- Reply: Steven Livolsi: "Re: Contents of a Directory"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|