Script Error in CD Autorun
Thanks in advance for everyone's help in this thread
I have a CD full of medical information and X-rays, MRI's, etc.
The auto run opens a webpage that says "click below to login". Clicking the button produces the error:
An error has occurred in the script on this page.
Error: Invalid argument
Do you want to continue running scripts on this page?
Clicking yes or no both produce no effect. Can you please look over the code and let me know if there is anything I can do to fix this problem? The source code of the autorun browser is:
<meta http-equiv="Content-Language" content="en-us">
<title>PACS Export - Confidential - Provided by UPMC</title>
//alert( "Launching Stentor Image Viewer.\nChoose 'open' from the next window.\nUse a blank password when prompted." );
<body onload="resize();" style="overflow:hidden" bgcolor="#39607D" link="#66ccff" vlink="#66ccff" alink="#66ccff" text="#ffffff">
<table cellpadding="0" cellspacing="0" id="main" width="400" height="200" border="0">
<td align="center" >
<img border="0" src="Banner.gif" width="384" height="71">
<input type="button" width="395" value=" View Images in Stentor " name="btnStentor" onclick="goStentor();">
<a href="./Stentor/iSiteMediaViewer.exe" id="linkStentor" name="linkStentor"/></a><font size="-2"><br>( Use a blank password to login. )</font>
<font face="verdana" size="1">
<!--<a href="./Stentor/Help/CDGettingStarted.htm">Help using Stentor iSite CD Direct</a> |
<a href="./Stentor/Help/CDGettingStarted.htm">Stentor Help</a>-->
Thanks again for your help.
I copied and pasted your source code into my local file and named it with .hta extension and I didn't see the error you described. I can only see the "Cannot find file" error message which is expected because I don't have the .exe file.
Ditto for me.
Thank you, Old Pedant. The source code is on the CD so it is not rewritable. How do I take the code you provided me and run it? I understand that I will have to change
Thanks for your timely help.
Nevermind. I simply entered "D://Stentor/iSiteMediaViewer.exe" into Command Prompt and it worked.
Thanks again though for your support.
It's better to use a relative path than an absolute path. Not all CD drives are at D:
|All times are GMT +1. The time now is 02:07 AM.|
Powered by vBulletin®
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.