Plugin_Viewpoint Property

 

Type: Integer

 

Returns an integer indicating whether the user has the Viewpoint plug-in installed. The returned value will be one of the following:

0: The plug-in is not installed

1: The plug-in is installed

-1: It is not possible to detect if the plug-in is installed

 

Note: You must call the GetExtPropertiesEx method before checking the value of this property. This property requires the 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_Viewpoint"

bhObj.GetExtPropertiesEx

%>

<html>Viewpoint plug-in is:

<%

vp = bhObj.Plugin_Viewpoint

if vp = -1 then

PropVal = "Not detectable"

elseif vp = 0 then

PropVal = "Not installed"

else

PropVal = "Installed"

end if

response.write PropVal

%>

</html>

 

Special notes for this property:

 

See Also:

GetExtPropertiesEx Method

SetExtProperties Method