DiagramLauncher Control

This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

Enables a user to create a diagram from a list or to verify whether a compatible diagram creation application is available in Windows SharePoint Services.

Remarks

When the page containing a view of the list opens, the ExportDiagram function is called, which is defined in the OWS.JS file. This function creates the control on the page as follows:

new ActiveXObject("DiagramLaunch.DiagramLauncher")

A developer can create a custom control for creating a diagram from a list if it has the same ProgID (DiagramLaunch.DiagramLauncher), uses the same method or property names, and provides the same functionality as described in this reference.

When Microsoft Office Visio Professional 2007 is installed on the client computer, this control is defined in the DGRMLNCH.DLL file, a dynamic-link library (DLL) that is installed on the client during Office 2007 setup in the \\Program Files\Microsoft Office\OFFICE12 directory.