Links

Lists

Latest Updates

Ruby On Rails List
Python list
Advanced Java
The JavaScript List
Apache Users
Full Disclosure
Linux Security

Search the archives!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Javascript] Trapping "File not Found"


  • From: javascript@xxxxxxxxxx (Stern,Matthew)
  • Subject: [Javascript] Trapping "File not Found"
  • Date: Tue, 23 Jul 2002 15:49:16 -0700

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

------_=_NextPart_001_01C2329B.2C6FCF80
Content-Type: text/plain;
	charset="iso-8859-1"

Hello,
 
I'm using JavaScript to create an HTML page that is the startup screen for
installation. The challenge is that the programs that can be launched from
this screen might be on two CDs. I'd like to find a way to trap the "File
not Found" error and show an alert that instructs the user to insert the
correct CD. (If there is a better way to do this, please let me know.) Note
that I'm not expecting the CD to be a specific drive letter. It could even
be a path on a network. Thanks in advance for your help.
 

Matthew Stern 
Principal Technical Writer
Best Software
 <mailto:matthew.stern@xxxxxxxxxxxxxxxx> matthew.stern@xxxxxxxxxxxxxxxx
http://www.matthewarnoldstern.com <http://www.matthewarnoldstern.com/> 

The opinions expressed here are solely my own. 


------_=_NextPart_001_01C2329B.2C6FCF80
Content-Type: text/html;
	charset="iso-8859-1"

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">


<META content="MSHTML 6.00.2600.0" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=918384322-23072002><FONT size=2>Hello,</FONT></SPAN></DIV>
<DIV><SPAN class=918384322-23072002><FONT size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=918384322-23072002><FONT size=2>I'm using JavaScript to create 
an HTML page that is the startup screen for installation. The challenge is that 
the programs that can be launched from this screen might be on two CDs. I'd like 
to find a way to trap the "File not Found" error&nbsp;and show an alert that 
instructs the user to&nbsp;insert the correct CD. (If there is a better way to 
do this, please let me know.) Note that I'm not expecting the CD to be a 
specific&nbsp;drive letter. It could even be a path on a network. Thanks in 
advance for your help.</FONT></SPAN></DIV>
<DIV><FONT size=2></FONT>&nbsp;</DIV>
<DIV>
<DIV>
<DIV>
<P><FONT face=Georgia color=#008000 size=4>Matthew Stern</FONT> <BR><FONT 
face=Verdana size=2>Principal Technical Writer<BR>Best Software<BR></FONT><A 
href="mailto:matthew.stern@xxxxxxxxxxxxxxxx";><FONT face=Verdana 
size=2>matthew.stern@xxxxxxxxxxxxxxxx</FONT></A><BR><SPAN 
class=406454720-03012002><FONT face=Verdana size=2><A 
href="http://www.matthewarnoldstern.com/";>http://www.matthewarnoldstern.com</A></FONT></SPAN></P>
<P><SPAN class=406454720-03012002><FONT face=Verdana size=2>The opinions 
expressed here are solely my 
own.</FONT></SPAN>&nbsp;</P></DIV></DIV></DIV></BODY></HTML>

------_=_NextPart_001_01C2329B.2C6FCF80--