我得到运行时错误429:ActiveX组件无法创建对象在vb6上运行Windows Server 2008 r2标准版x64 - 在Virtual PC上全新安装。VB6应用程序 - 运行时错误429:ActiveX组件无法在Windows Server 2008 R2上创建对象标准
我可以在Windows 7中,10和Windows Server 2003没有问题,使用相同的步骤
运行- 复制程序文件夹
- 注册使用%SYSTEMROOT%所有的DLL和OCX文件与管理CMD/SysWow64资料/ REGSVR32
我用了一个名为“listdlls.exe”的工具,我对比了什么DLL和OCX文件在Windows 7和Windows Server 2008 R2上的应用程序加载的 - 没有丢失的文件。只是这10个文件有不同的版本:该应用程序使用
ntdll.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23572)
kernelbase.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23572)
advapi32.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23572)
ole32.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23392)
msctf.dll on Windows 7 (6.1.7600.16385) and on Windows Server 2008 r2 (6.1.7601.23572)
oleaut32.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23569)
cryptsp.dll on Windows 7 (6.1.7600.16385) and on Windows Server 2008 r2 (6.1.7601.23471)
crypt32.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23566)
asycfilt.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23569)
olepro32.dll on Windows 7 (6.1.7601.17514) and on Windows Server 2008 r2 (6.1.7601.23452)
所有其他文件都是相同的版本和大小!所以没有其他区别。
程序以管理员身份在帐户集下以管理员身份运行。
设置我的DEP(数据执行保护),以0
C:\ WINDOWS \ Syswow64资料> WMIC OS获取DataExecutionPrevention_SupportPolicy
DataExecutionPrevention_SupportPolicy
而且我禁用UAC(用户帐户控制)
有什么想法?版本差异是否足以导致这种情况,或者是否有其他我缺少的东西?
干杯!
...你有没有得到listdlls.exe来显示COM引用...?顺便说一句,你可以尝试运行一个MDAC安装程序... – deblocker