2012年8月7日 星期二

[筆記]Runtime Error 339 comdlg32.ocx

 


 記得使用系統管理員身份執行!



 


開始注冊comdlg32.ocx


1. 到 afreeocx download comdlg32.ocx


2. 32bit的系統,請把 comdlg32.ocx 移到 c:\Windows\system32 裡面


64bit的Vista/Win7, 請把comdlg32.ocx 移到 c:\Windows\SysWOW64


3. 32bit的系統在指令列下這個指令:


regsvr32 c:\Windows\system32\comdlg32.ocx


64bit Vista/Win7, 在指令列下這個指令:


regsvr32 c:\Windows\SysWOW64\comdlg32.ocx


 


 


--


 


Step 1:


Note:This method only works forWindows 7 64bit.


Instead of registering thecomdlg32.ocx in system32 folder, register it in syswow64 folder and check.


a.       Click on Start menu and type cmd in the start search box.


b.      Right click on cmd and click on ‘Run as administrator’.


c.       Type the command.


cd<push spacebar > c:\widnows\SysWoW64 and press Enter.


d.      The prompt should change to: C:\Windows\SysWOW64


e.      Then type:


regsvr32<push spacebar>mscomctl.ocx and press Enter.


If you get a Window that pops up and says, "DllRegisterServer in mscomctl.ocx succeeded" then click OK


1 則留言: