XXXXX

Updating AccuTerm 2K2 Internet Edition Web Sites for Windows XP SP2

SP2 for Windows XP has added several security features to Internet Explorer. Because of these changes, the html file created by the AccuTerm 2K2 Internet Connection Designer requires manual changes to be compatible with SP2. A simple one-line change and updated component version number is mandatory, and it is recommended that the access instructions for XP SP2 be added to the html file as well. New lines are shown in BLUE. Use your favorite text editor to update the html file, or you can use a tool like Microsoft Front Page.

Be sure to download the AccuTerm 2K2 Internet Edition upgrade – the new Connection Designer will create updated html files automatically.

Mandatory change: update version number and add “On Error Resume Next” to the first <Script> in the file.

Updated component version number:

XXXXX
XXXXX XXXXX
XXXXX
<object ID="ATIEBOOT" CLASSID="CLSID:8AD922B1-E91A-49C9-B22F-1FB3411F954B"
CODEBASE="http://www.asent.com/atiefiles/atieboot2.cab#version=2,0,0,5">
</object>
XXXXX XXXXX
XXXXX

Updated script:

XXXXX
XXXXX XXXXX
XXXXX
<script LANGUAGE="VBScript">
On Error Resume Next
If ATIEBOOT.IsInstalled("F24D6911-69D1-11D2-AB7F-0040055A85C2") = 0 Then
	'AccuTerm is not already installed, so hyperlink to the AccuSoft site
	Location.href = "http://www.asent.com/atiednld.htm"
End If
</script>
XXXXX

Recommended change: add a <Style> tag to the <Head> section, and add <Div> to the body along with a new script which checks for XP SP2 and displays specific access instructions when XP SP2 is detected. Finally, add a paragraph explaining which browser security options may require adjustment to view the page.

XXXXX
XXXXX XXXXX
XXXXX
<!--
     This is a sample INTERNET html file for accessing
     AccuTerm 2K2 Internet Edition. This sample uses the
     atieboot2.cab file located on AccuSoft's web server to
     determine if AccuTerm is already installed. If not,
     the atieins5.cab file on AccuSoft's web site is used
     to install the AccuTerm files.

     To create a link your AccuTerm session, copy the
     following 2 lines and paste into your web page.

<p><a href="#" onClick="window.open('%ATIE_HTM%','atie_window');"
>AccuTerm 2K2 Internet Edition Web Page</a></p>

-->

<html>

<head>

<style type="text/css">
.infostyle {color:#000000; background-color: #FFFFDE}
</style>

<title>AccuTerm 2K2 Internet Client Link</title>

<!-- Load the install helper object and test if ATIE client
     program has already been installed.
-->

<object ID="ATIEBOOT" CLASSID="CLSID:8AD922B1-E91A-49C9-B22F-1FB3411F954B"
CODEBASE="http://www.asent.com/atiefiles/atieboot2.cab#version=2,0,0,5">
</object>

<script LANGUAGE="VBScript">
On Error Resume Next
If ATIEBOOT.IsInstalled("AF7DF281-4120-4AC8-B991-A7742087326F") = 0 Then
	'AccuTerm is not already installed, so hyperlink to the AccuSoft site
	Location.href = "http://www.asent.com/atiednld.htm"
End If
</script>

</head>

<body bgcolor="#EFEFEF">
<div>
<h2><font face="Courier New" color="#000000">Initializing AccuTerm 2K2 Internet Edition
session...</font></h2>

<script LANGUAGE="VBScript">
	'check for XP SP2
	On Error Resume Next	
	XPSP2 = False
	XPSP2 = Instr(1,window.navigator.useragent,"SV1",1)
	If XPSP2 Then
		str = ""
		str = str & "<p><font face=""arial"" size=2>" & vbCrLf
		str = str & "This page uses ActiveX components to provide access to resources you are" & vbCrLf
		str = str & "requesting. The browser you are using has added security features and requires" & vbCrLf
		str = str & "extra steps when accessing ActiveX content.</font></p>" & vbCrLf
		str = str & "<ol style=""font-family: arial; font-size: 12pt"">" & vbCrLf
		str = str & "<li><p><font face=""arial"" color=""#FF0000"" size=3>" & vbCrLf
		str = str & "Choose <B><U>Download</U></B> from the <B><I>Information Bar</I></B></font></p></li>" & vbCrLf
		str = str & "<p><font face=""arial"" size=2>If you see the <B><I>Information Bar</I></B>" & vbCrLf
		str = str & "(a <span class=""infostyle"">light-yellow bar</span> with a" & vbCrLf
		str = str & "download&nbsp;<img src=""http://www.asent.com/atiefiles/atie_dnld_icon.gif"">&nbsp;icon" & vbCrLf
		str = str & "at the top of the window just below the address or toolbar)," & vbCrLf
		str = str & "click on the bar and choose <B><U>Download File</U></B>.</font></p>" & vbCrLf
		str = str & "<li><p><font face=""arial"" color=""#FF0000"" size=3>" & vbCrLf
		str = str & "Click the <B><U>Open</U></B> button to open the page</font></p></li>" & vbCrLf
		str = str & "<p><font face=""arial"" size=2>After choosing <B><U>Download File</U></B>" & vbCrLf
		str = str & "from the <B><I>Information Bar</I></B>, you will see the" & vbCrLf
		str = str & "<B><I>File Download</I></B> dialog box" & vbCrLf
		str = str & "(blue&nbsp;shield&nbsp;<img src=""http://www.asent.com/atiefiles/atie_info_shield.gif"">&nbsp;icon" & vbCrLf
		str = str & "in the lower-left corner.) Click the <B><U>Open</U></B> button to open the" & vbCrLf
		str = str & "page.</font></p></ol>" & vbCrLf
		document.Write str
	End If
</script>

<p><font face="arial" size=1>If you see this text, the session is not open yet. This text will
disappear once the session opens. If you experience problems with this page, you may need change
your browser security settings for the zone where this page is located. These settings are found
in the Security tab of Internet Options, from Tools menu. Click the <I><U>Custom Level</U></I>
button to access the advanced security settings. Make sure that <I><U>File Download</U></I> is
set to <I><U>Enable</U></I>. In some cases, you may also need to change <I><U>Initialize and
script ActiveX controls not marked as safe</U></I> to <I><U>Enable</U></I> or <I><U>Prompt</U></I>.
</font></p>

</div>

</body>

<!-- Make sure the ATIE client program is installed and is the
     current version.
-->

<!-- the SAFE AccuTerm emulator -->

<OBJECT ID="ATIE" WIDTH=0 HEIGHT=0
CLASSID="CLSID:AF7DF281-4120-4AC8-B991-A7742087326F"
CODEBASE="http://www.asent.com/atiefiles/atieins5.cab#version=5,3,0,304">
</OBJECT>


<!-- Now update the current location to the URL of the AccuTerm Session file. -->

<Script LANGUAGE="VBScript"> 
Sub Window_OnLoad()
	Window.Location.Replace "atiedemo5.ats"
End Sub
</Script>

</html>
 

Questions? comments? webmaster@asent.com © 2007 AccuSoft Enterprises All rights reserved  Please see our disclaimer