VB6在Win7的64位系统上加载组件时,有可能出现下面的错误提示:(“Object library not registered”)
@ECHO OFF if exist %windir%\SysWOW64 goto X64 :X86 ECHO 32位系统注册 MSCOMCTL.OCX ... copy MSCOMCTL.OCX %windir%\system32\ %windir%\system32\regsvr32 /u mscomctl.ocx /s %windir%\system32\regsvr32 mscomctl.ocx /s %windir%\regtlib msdatsrc.tlb @pause exit :X64 ECHO 64位系统注册 MSCOMCTL.OCX ... copy MSCOMCTL.OCX %windir%\sysWOW64\ %windir%\sysWOW64\regsvr32 /u mscomctl.ocx /s %windir%\sysWOW64\regsvr32 mscomctl.ocx /s %windir%\regtlib msdatsrc.tlb @pause exit
具体内容在下面地址,请下载:【WIN7_X64_MSCOMCTL_OCX_2014-04-10】