CopyCtl 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 copy a document on a SharePoint site to one or more locations on a server


When you copy a document on Copy.aspx, the page for copying documents, the CreateCopyControl function is called. This function creates the control on the page as follows:

new ActiveXObject("STSUpld.CopyCtl")

A developer can create a custom control for copying a document if it has the same ProgID (STSUpld.CopyCtl), uses the same method names, and provides the same functionality as described in this reference.

When Office 2007 is installed on the client computer, this control is defined in the STSUPLD.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.