Last modified: October 20, 2010
Applies to: SharePoint Foundation 2010
An ActiveX control in Microsoft SharePoint Foundation 2010 that you can use to export items in a task list to Microsoft Project 2010 if Project 2010 is installed on the client computer.
This control is defined in NAMEEXT.dll, a dynamic-link library (DLL) that is installed on the client in the %ProgramFiles%\Microsoft Office\Office14\ directory when Project 2010 is installed.
var obj = new ActiveXObject('TaskLaunch.TaskLauncher');
In Microsoft Visual Basic Scripting Edition (VBScript), use the following to instantiate the control:
Set obj = CreateObject('TaskLaunch.TaskLauncher')
In both cases, the argument is the programmatic identifier (ProgId) of the control, TaskLaunch.TaskLauncher. For more information about ProgIds, see <ProgID> Key.
In SharePoint Foundation, when a user clicks Open Schedule on the ribbon for a page that contains a task list, an issue-tracking list, or a Gantt tasks list, code on the page calls the OpenTasks function in OWS.js to determine whether Project 2010 is installed on the client computer. If Project 2010 is installed on the client computer, the code instantiates the control and exports tasks in the list to Project 2010.
The OWS.js file is located in the %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\TEMPLATE\LAYOUTS\1033 directory on each front-end Web server in a SharePoint Foundation deployment.