PC Review


Reply
Thread Tools Rate Thread

Detect if applet is installed?

 
 
Andy
Guest
Posts: n/a
 
      18th Oct 2009
Hi,

I have a client who has an asp.net web appliction which uses JUpload
(http://www.aspupload.com/jupload.html).

I have the control embedded using an applet tag. It seems that newer
versions of browers have changed, and the javascript i was using to
detect if the applet was installed no longer seems to work. This is
what I have now:

var ctl = document.getElementById( 'UploadCtl' );
var exists;
try {
exists = ctl != null && ctl.object != null && !ctl.isTransferring();
}
catch( ex ) {
exists = false;
}

if ( exists ) { // do stuff } else { // redirect to another page }

This seems to work ok, unless the user declines to run the applet but
Java is installed. In this case nothing happens. If Java isn't
installed at all, the user is properly redirected.

What's the best way to use javascript to redirect if Java isn't there,
or the user declined to run the applet?

Thanks
Andy
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to detect if fax is installed on the system and get its name muntyanu@hotmail.com Microsoft Dot NET 0 13th Dec 2006 04:30 AM
Detect if virusscanner is installed Jeroen Microsoft VB .NET 7 29th May 2006 11:36 AM
Detect if activesync is installed is on PC Darren Coleman Microsoft Dot NET Compact Framework 1 28th Apr 2005 09:03 PM
Detect Installed .Net framework Maileen Microsoft VB .NET 4 4th Dec 2004 06:28 PM
Detect dll not installed Chris Microsoft Dot NET Framework 0 4th Aug 2003 04:41 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:43 AM.