Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ExportDatabase Control

Last modified: October 13, 2010

Applies to: SharePoint Foundation 2010

An ActiveX control that enables a user to create or open a database that contains data from a list in Microsoft SharePoint Foundation.

This control is defined in OWSSUPP.dll, a dynamic-link library (DLL) that is installed in the %ProgramFiles%\Microsoft Office\Office14\ directory on the client computer during Microsoft Office 2010 Setup.

To instantiate this control, use the following function in ECMAScript (JavaScript, JScript):

var obj = new ActiveXObject('SharePoint.ExportDatabase');

In Microsoft Visual Basic Scripting Edition (VBScript), use the following to instantiate the control:

Set obj = CreateObject('SharePoint.ExportDatabase')

In both cases, the argument is the ProgId of the control, SharePoint.ExportDatabase. For more information about ProgIds, see <ProgID> Key.

In SharePoint Foundation, when a page that contains a view of a list opens, the _ExportToDatabase function is called, which is defined in the OWS.js file. This function creates the control on the page and exports the list.

You can create a custom control for opening a database that contains data from a SharePoint List if it has the same ProgID (SharePoint.ExportDatabase), uses the same method or property names, and provides the same functionality as described in this reference.

© 2015 Microsoft