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 biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

HTML with VBSCRIPT will run on my server but not on the Client

Status
Not open for further replies.

vemate

Programmer
Aug 23, 2002
61
US
I am enclosing the HTML CODE. I can run the HTML on my Server but when I run the code on the Network I get a Page error with no clue what this is.
Thanks

<html>
<!-- Creation date: 2/6/2003 -->
<head>
<body bgcolor=lightyellow><font size=6>
<p align=center>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>FPA DEMO</title>
<MARQUEE WIDTH="160" HEIGHT="1" BEHAVIOR="slide" SCROLLDELAY="0" STYLE="background:#0099cc;">
<font color=yellow size=5>Forest Products Accounting Web Update Remember Everyone must be Logged off !!!
</MARQUEE>
<P>
<font color=black size=3>
<b>Note:</b> Before you proceed <b>EVERYONE MUST be LOGGED</b> off the FPA System.
<br>The new install will be placed directly on your <b>SERVER</b> without you having to copy to your Site to install.
<p align=center>
<script language=VBScript>
sub execute
set objShell=CreateObject("Wscript.Shell")
objShell.Run("f:/tzo/system_update/fpa_create_3.02.EXE")
end sub
</script>
</head>
<p align=center>
<body>
<button onclick=execute>
Version 3.02 Update
</button>
</body>
</html>
 

I don't believe that the ActiveX control works if it isn't running locally... I think you may need to check your browser's security settings.

Hope this helps,
Dan
 
Hi Dan,
Thanks a lot. That was the problem. I went to my Browser and changed the security to allow Trusted Sites to access my alternate web site then my script ran. I have a website that I am using as a Intranet site that our customers use to get their updates. This is a tremendous step allowing our customers to update without having to copy the 70+m update file to their site then update. If our customers do not have DSL it takes about 45 minutes to download this file.

Thanks again.
Vernon
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top