2501: <EventName> action cancelled.
Office 2010: http://support.microsoft.com/kb/2597986
Office 2007: http://support.microsoft.com/kb/2687441
Office 2003: http://support.microsoft.com/kb/2687323
Method 2: Re-register MSCOMCTL.OCX from an elevated command prompt
1. Open a Command Prompt with elevated privileges.
If you're not familiar with the steps to open an elevated command prompt, you can find the steps here. Windows XP users can open a command prompt normally.
2. If working on a 64-bit system, execute the following two commands:
3. If working on a 32-bit system, execute these commands instead:
Method 3: Manually update the registry
In some cases, registering and unregistering MSCOMCTL.OCX with elevated permissions won't be enough to fix the problem in a database. In those situations, manual deletion of a registry key associated with MSCOMCTL.OCX may be necessary.
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
1. Quit all Office programs.
2. Click Start, then Run.
3. In the Open box, type "regedit" (without quotes) and click OK.
4. Browse to and remove the following 2.0 key from the registry:
Method 4: Execute a batch file to update your system automatically
NOTE: Backing up the registry is recommended prior to executing these steps.
1. Create a new text file and copy and paste the following to it:
if exist %systemroot%\SysWOW64\cscript.exe goto 64
%systemroot%\system32\regsvr32 /u mscomctl.ocx
%systemroot%\sysWOW64\regsvr32 /u mscomctl.ocx
3. Change the file extension from .TXT to .BAT.
4. Run the .BAT file by right-clicking on it and choosing 'Run as Administrator' (XP users can simply double-click to run the file).
NOTE: You can remove the reg delete line from the batch file if you have found that you don't need to remove the registry key listed above to get your application to work.
Microsoft ImageList Control 6.0 (SP6)
Microsoft ListView Control 6.0 (SP6)
Microsoft ProgressBar Control 6.0 (SP6)
Microsoft Slider Control 6.0 (SP6)
Microsoft StatusBar Control 6.0 (SP6)
Microsoft TabStrip Control 6.0 (SP6)
Microsoft Toolbar Control 6.0 (SP6)
Microsoft TreeView Control 6.0 (SP6)
Problems have also surfaced in other Office products after adding the patch, though symptoms may be different than those seen in Access. Removal of the registry key as noted above may not be necessary to address issues in those cases.
See these KB articles for more information on the security update:
MS12-060: Description of the security update for Office 2010: August 14, 2012
MS12-060: Description of the security update for 2007 Office system: August 14, 2012
MS12-060: Description of the security update for Office 2003 and Office 2003 Web Components: August 14, 2012
文章識別碼：2748410 - 最後檢閱時間：2013年3月15日 - 修訂： 1