02-18-2007, 08:44 PM
if (execCommand("assoc | findstr pdf");
alert('Cant bring up PDF');
02-18-2007, 11:50 PM
Why not just put somewhere on the page that the linked document requires Acrobat Reader, then give an Acrobat Reader download link. That's what I do on my site.
02-19-2007, 02:27 AM
This is an intranet site and doesnt connect to internet.
Also, the problem is the pdf software is not working on some workstations.
I was hoping I could detect that with client side scripting.
02-19-2007, 02:46 AM
You would need to be able to scan the person's hard drive to see if Acrobat Reader was installed. As far as I know, that's not possible.
Since this is an intranet with no access to the internet, perhaps you could just change the page's message to tell them to call tech support if they are unable to read the file.