www.pudn.com > PDFView.rar > checkinstalled.html, change:2009-04-18,size:781b


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
 
<html> 
<head> 
	<title>Test Page</title> 
	 
	<script type="text/javascript" language="JavaScript1.2"> 
				function CheckPDFViewerOCX()  
				{ 
						try  
						{  
							window.pdfViewer = new ActiveXObject("PDFVIEW.PdfviewCtrl.1");  
						}  
						catch(e)  
						{  
							alert("PDF Viewer OCX hasn't been installed, Error Message is: " + e.message); 
						} 
						if(window.pdfViewer != undefined) 
							alert("PDF Viewer OCX has been installed properly."); 
				}	// End function	 
	</script> 
</head> 
 
<body> 
<form> 
<font face="Times New Roman"> 
<input type="Button" value="Check if PDF Viewer OCX installed or not" onclick="CheckPDFViewerOCX();" /> 
</font> 
</form> 
 
</body> 
</html>