Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

info.exe and Scripting.FileSystemObject

Status
Not open for further replies.

nivini

Programmer
Mar 24, 2004
64
I have this code:
<marquee>
<OBJECT RUNAT=server PROGID=Scripting.FileSystemObject id=OBJECT1> </OBJECT>

<%
set textFile=OBJECT1.OpenTextFile(server.MapPath ("files/marquee.txt"))
while not textFile.atEndOfStream
Response.Write (textFile.readAll())
wend
%>
</marquee>
when i run it, the norton antivirus raises an alert about using info.exe and is asking for permission to use this script.
what do i have to permit or change through code so my useres will not meet this alert in case they have norton installed?

any additional article/knowledge about this issue will be most appriciate
 
Why not create the object like this:
Set OBJECT1 = Server.CreateObject("Scripting.FileSystemObject")
 
because, either my machine is win 9X or i dont know why, the server can not create the object, so the above code creates the object normaly, and i can see the marquee, i just needd the alert cancel for all useres.
thnks
nivini
 
Are you are using a Win9x machine as your web server? The Personal Web Server thingy?
 
yes, do you think that the problem is because of the PWS?
so what is the norton antivirus has got to do with it??
HELP!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top