DiagramLauncher.EnsureDiagramApplication Method
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.
Verifies that the DiagramLauncher Control control is present and registered.
expression.EnsureDiagramApplication()
Parameters
expression
An expression that returns a DiagramLauncher object.
Return Value
true if the DiagramLauncher control is present and registered on the client machine; otherwise, false.
Example
The following example creates a DiagramLauncher object and verifies its presence and registration:
Set objDiagramLauncher = CreateObject("SharePoint.DiagramLauncher")
If IsObject(objDiagramLauncher) Then
objDiagramLauncher.EnsureDiagramApplication()
End If