This topic has not yet been rated - Rate this topic

OpenXMLDocuments Control

Windows SharePoint Services 3

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.

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 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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.