Type: String
Returns a string with the version number of the Adobe Acrobat plug-in, if installed.
Note: You must call the GetExtPropertiesEx method before checking the value of this property. This property requires either the Professional or Enterprise Edition of BrowserHawk.
Tip: See the extproperties.asp example located in your BrowserHawk directory for detailed information and examples on using this property.
Example:
<% set bhObj = Server.CreateObject("cyScape.browserObj")
bhObj.SetExtProperties "plugin_acrobatverex"
bhObj.GetExtPropertiesEx
%>
<html>Acrobat version is:
<%
ver = bhObj.Plugin_AcrobatVerEx
if ver = "" then
PropVal = "Version unavailable"
else
PropVal = ver
end if
response.write PropVal
%>
</html>
Special notes for this property:
Not all browsers are capable of having their plug-ins detected. If this is the case the return value will be an empty string.
In some cases with IE on Windows 32 and 64-bit platforms this property may only be able to return the major version number of the installed Acrobat plug-in, and not the full version number. For example, the user may have version 6.01 installed but this property will still contain just a value of "6". So a return result of "6" means at least version 6.0, whereas a returned version of "6.0.0" would mean it is indeed 6.0. In most cases the full version information will be returned (such as "6.0.0" or "6.0.2").
If the user’s JavaScript is disabled this property will not be available.
When checking for this plug-in, some users of Internet Explorer with Acrobat 4 will see the Acrobat splash screen displayed briefly. This is an unfortunate side effect that cannot be worked around. This does not occur with Acrobat versions 5 and higher.
See Also: