Share via


GrooveVersion Property

The GrooveVersion property returns the version of Groove running on the device.

Syntax

object.GrooveVersion As String

Return Value

The return value is a string containing digits separated by comas that represent the version of Microsoft Office Groove. For example, Microsoft Office Groove 2007 release, returns the value "4,1,0", which indicates that the major release is "4", the minor release is "1", and the custom release number is 0.

Example

The following JavaScript tests if the GrooveVersion is 4.1 or later.

var app = GetApp();
var GrooveVersionArray = app.GrooveVersion.Split(",");
var GrooveMajor = parseInt(GrooveVersionArray[0]);
var GrooveMinor =  parseInt(GrooveVersionArray[1]);
if (GrooveMajor > 4 || ( (GrooveMajor==4) && (GrooveMinor >= 1) ) )
{
   // Can use methods and properties added in Groove 2007
}

See Also

Reference

IGrooveFormsToolUIDelegate Interface