OpenXMLDocuments 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.
An ActiveX control that allows a user of Microsoft Windows SharePoint Services to create XML documents or forms based on a specified template, or to edit XML documents or forms with their associated applications.
Remarks
One implementation of this control is defined in inlaunch.dll, a dynamic link-library (DLL) that is installed on the client during the Microsoft Office InfoPath 2007 setup.
To instantiate this control, use the function new ActiveXObject("SharePoint.OpenXMLDocuments") in JScript or JavaScript (ECMAScript), or the function CreateObject("SharePoint.OpenXMLDocuments") in Microsoft Visual Basic Scripting Edition (VBScript), where the program ID (ProgID), class, and version number are specified.
Note
All of the methods that you use with the OpenXMLDocuments control have the number "2" appended to their names. This is because these methods are newer versions of some of the methods that are used with the SharePoint.OpenDocuments control; the "2" ensures that the methods from the two controls do not conflict with each another. In addition, each of the new methods includes a new object argument that is used to pass in a reference to the instance of Internet Explorer that is calling the method.