TaskLauncher.GetCLSID Method
Applies to: SharePoint Foundation 2010
Gets the class identifier (CLSID) of the TaskLauncher control.
GetCLSID()
Return Value
Type: String
The CLSID.
Remarks
You can use the return value of the GetCLSID method to construct an <OBJECT> tag for writing the object to the page, as shown in the following example.
var launcherButton = new ActiveXObject('TaskLaunch.TaskLauncher');
var launcherCLSID = launcherButton.GetCLSID();
var objectTag = '<object classid="clsid:' + launcherCLSID + '" id="TaskLauncherObj" style="display:none;"></object>';
document.write(objectTag);