CreateObject("Scripting.FileSystemObject") Error 
Author Message
 CreateObject("Scripting.FileSystemObject") Error

I made VBScript in HTML file using
CreateObject("Scripting.FileSystemObject"), and when I run it I get message:

"An ActiveX control on this page might be unsafe to interact with other
parts on this page. Do you want to allow this interaction?" - If I answer
with "no" I get error message, but if I answer with "yes" everything works
fine.

But if I run this script on other computer (I put HTML on web site), I don't
get message above, I just get error message (like I answered above message
with "no")

Error message is:

"Error: ActiveX component can't create object: 'Scripting.FileSystemObject'"

How to make this script work on other computers (on the web)?


Quote:
>Luka



Thu, 07 Aug 2003 19:31:32 GMT  
 CreateObject("Scripting.FileSystemObject") Error
Yot have to change your security settings in IE to disable this message, you
know that by using CreateObject("Scripting.FileSystemObject") you are
activating an ActiveX control on the site.

About not working on other computers, check out the secrity-settings in the
browsers, running this script on Netscape--> can't do that, you have to use
Javascript for Netscape.

If this does not help, then check out MSDN,

BK,


Quote:
> I made vbscript in HTML file using
> CreateObject("Scripting.FileSystemObject"), and when I run it I get
message:

> "An ActiveX control on this page might be unsafe to interact with other
> parts on this page. Do you want to allow this interaction?" - If I answer
> with "no" I get error message, but if I answer with "yes" everything works
> fine.

> But if I run this script on other computer (I put HTML on web site), I
don't
> get message above, I just get error message (like I answered above message
> with "no")

> Error message is:

> "Error: ActiveX component can't create object:

'Scripting.FileSystemObject'"

- Show quoted text -

Quote:

> How to make this script work on other computers (on the web)?


> >Luka



Fri, 08 Aug 2003 00:59:10 GMT  
 CreateObject("Scripting.FileSystemObject") Error
Yot have to change your security settings in IE to disable this message, you
know that by using CreateObject("Scripting.FileSystemObject") you are
activating an ActiveX control on the site.

About not working on other computers, check out the secrity-settings in the
browsers, running this script on Netscape--> can't do that, you have to use
Javascript for Netscape.

If this does not help, then check out MSDN,

BK,


Quote:
> I made vbscript in HTML file using
> CreateObject("Scripting.FileSystemObject"), and when I run it I get
message:

> "An ActiveX control on this page might be unsafe to interact with other
> parts on this page. Do you want to allow this interaction?" - If I answer
> with "no" I get error message, but if I answer with "yes" everything works
> fine.

> But if I run this script on other computer (I put HTML on web site), I
don't
> get message above, I just get error message (like I answered above message
> with "no")

> Error message is:

> "Error: ActiveX component can't create object:

'Scripting.FileSystemObject'"

- Show quoted text -

Quote:

> How to make this script work on other computers (on the web)?


> >Luka



Fri, 08 Aug 2003 01:00:01 GMT  
 CreateObject("Scripting.FileSystemObject") Error
Beware that the reason for the "unsafe" warning is _not_ that there is a
security problem per se with the file system object, or even the code you
have written that makes use of it. The main reason is that, should you get
all of your clients to lower their security in order to run your scripted
page, they will open themselves up to innumerable attacks from other sites
that are not as benign as yours.

The second error message could reflect that the other machine you are
testing with may not have Windows Script Host installed (just a guess).

If the FSO is there so you can access files local to the client machine, and
if this is an intranet application, I suggest you convert to an HTML
application. Alternately, it might be possible to convert your script from
client-side to server side.

/Al

Quote:

> Yot have to change your security settings in IE to disable this message,
you
> know that by using CreateObject("Scripting.FileSystemObject") you are
> activating an ActiveX control on the site.

> About not working on other computers, check out the secrity-settings in
the
> browsers, running this script on Netscape--> can't do that, you have to
use
> Javascript for Netscape.

> If this does not help, then check out MSDN,

> BK,



> > I made vbscript in HTML file using
> > CreateObject("Scripting.FileSystemObject"), and when I run it I get
> message:

> > "An ActiveX control on this page might be unsafe to interact with other
> > parts on this page. Do you want to allow this interaction?" - If I
answer
> > with "no" I get error message, but if I answer with "yes" everything
works
> > fine.

> > But if I run this script on other computer (I put HTML on web site), I
> don't
> > get message above, I just get error message (like I answered above
message
> > with "no")

> > Error message is:

> > "Error: ActiveX component can't create object:
> 'Scripting.FileSystemObject'"

> > How to make this script work on other computers (on the web)?


> > >Luka



Fri, 08 Aug 2003 03:51:57 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Using ADO with Encrypted/Password Protected Access databases

2. more assistance needed..!!!

3. CreateObject("Scripting.FileSystemObject") Error

4. Set fs = CreateObject("Scripting.FileSystemObject")-error

5. Getting characters from keyboard in graph mode

6. CreateObject("Scripting.FileSystemObject") doesnt work

7. CreateObject("Scripting.FileSystemObject")

8. Help! MSDOS 5.3 - troll alert

9. Replacing TDBControlGrid

10. MenuItem events:(

11. Structure of BP.TP files

12. Delphi2 Network Printing Problem(s)

 

 
Powered by phpBB® Forum Software