Windows XP Windows 7 Windows 2003 Windows Vista Windows 綜合教學 Linux 系統教學
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟體教學
您现在的位置: Windows教程網 >> Windows教程 >  >> Windows 綜合教學 >> 關於 Windows

Win10 註冊 OCX 元件提示錯誤 0x80040200 解決方法

編輯:關於 Windows

以系統管理員身分執行 regsvr32 註冊 OCX

在 Windows 10 註冊 .ocx 元件時若出現 0x80040200 錯誤,通常是權限不足。需以系統管理員身分執行命令提示字元並註冊。

解決步驟

  1. 按 Win+X 選擇「命令提示字元 (系統管理員)」。
  2. 輸入指令:
    regsvr32 xxx.ocx
    (將 xxx.ocx 替換為實際檔名,含完整路徑或先 cd 到該目錄)。
  3. 按 Enter 執行,應顯示「DllRegisterServer 在 xxx.ocx 中成功」訊息。
以管理員身分開啟 CMD
執行 regsvr32 指令
Copyright © Windows教程網 All Rights Reserved