You use Windows Internet Explorer 7 to open a Web page that contains a Microsoft Office InfoPath form.
You right-click an element in the InfoPath form, and then you click Cut or Copy.
You try to paste the element onto the InfoPath form or elsewhere.
In this scenario, the operations do not work correctly.
For example, you may encounter the following issues:
When you right-click an element and then click Cut, the element is not removed from its original position as expected.
When you right-click an element, click Copy, and then try to paste on an InfoPath form, the content of the element is pasted instead of the element itself.
When you right-click an element in Internet Explorer 7, and then a shortcut menu appears, the Mshtml.dll module (code name "Trident") caches the element that you click. All executed commands use the cached element as the primary target before the Mshtml.dll module tries other options, such as the current selection. InfoPath sets the current selection in an attempt to control which elements are used by the Cut, Copy, and Paste commands. However, the cached element prevents InfoPath from using the current selection. Therefore, the Cut, Copy, and Paste commands do not work correctly on an InfoPath element if you use the shortcut menu.
Security update information
To resolve this problem, install the most recent cumulative security update for Windows Internet Explorer. To do this, visit the following Microsoft Web site:
Note This update was first included in security update 974455 (MS09-054). For more information, click the following article number to view the article in the Microsoft Knowledge Base:
974455 MS09-054: Cumulative Security Update for Internet Explorer
After you install the cumulative security update for Internet Explorer MS09-034, you must add the following registry value to resolve this problem.
Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly. Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it. Then, you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click the following article number to view the article in the Microsoft Knowledge Base:
322756 How to back up and restore the registry in Windows
To resolve this issue in InfoPath and in other applications, this update introduces a feature-control registry key that disables element caching for shortcut menus. By default, this feature-control registry key is turned off to preserve compatibility in Internet Explorer and in other Mshtml.dll module hosts that do not have this fix. This feature-control registry key has more precise control over which objects are targeted by shortcut menu operations. This control helps resolve this issue in applications that host the Mshtml.dll module and that need this update. However, when you set this feature-control registry key, the host application must exactly control the targets of their shortcut menu operations.
To add this feature-control registry key, follow these steps:
Click Start, type regedit in the Start Search box, and then press ENTER.
If you are prompted for an administrator password or for confirmation, type the password, or provide confirmation.
Locate and then click the following registry subkey: