ActiveX无法使用crystal report8.5创建对象vb6应用程序

时间:2022-03-24 16:39:45

I inherited a program from my late dad its developed with vb6 and has sql server 2000 as the back end. when i try to print a report from the application it gives the error message "ActiveX cannot create object" but when i view the report from crytal report it displays everything. Please i need help

我从我已故的爸爸那里继承了一个用vb6开发的程序,并以sql server 2000作为后端。当我尝试从应用程序打印报告时,它会给出错误消息“ActiveX无法创建对象”,但是当我从crytal报告中查看报告时,它会显示所有内容。我需要帮助

3 个解决方案

#1


There is not really much to go on, but it looks like your program is missing some unspecified dependancy. Maybe you should check the installation was correct? It might be an idea to reinstall the program.

没有太多可继续下去,但看起来您的程序缺少一些未指定的依赖性。也许你应该检查安装是否正确?重新安装程序可能是个主意。

#2


This is probably a Crystal reports activex control/dll that hasn't been registered, which means your app can't find it in the registry.

这可能是一个Crystal报告activex控件/ dll尚未注册,这意味着您的应用程序无法在注册表中找到它。

If you can work out which one it is, use regsrv32 to register it, otherwise try re-installing Crystal reports.

如果您可以确定它是哪一个,请使用regsrv32进行注册,否则请尝试重新安装Crystal报表。

#3


The runtime version of the crystal report control is not correctly registered. Find & register 'crystl32.ocx', using regsvr. Ensure that it is in the WinSys path(i.e c:/Windows/System32). The dependacy files 'crystl32.dep' should also be on the path. This should sort you out.

晶体报告控件的运行时版本未正确注册。使用regsvr查找并注册'crystl32.ocx'。确保它位于WinSys路径中(即c:/ Windows / System32)。依赖文件'crystl32.dep'也应该在路径上。这应该把你排除在外。

#1


There is not really much to go on, but it looks like your program is missing some unspecified dependancy. Maybe you should check the installation was correct? It might be an idea to reinstall the program.

没有太多可继续下去,但看起来您的程序缺少一些未指定的依赖性。也许你应该检查安装是否正确?重新安装程序可能是个主意。

#2


This is probably a Crystal reports activex control/dll that hasn't been registered, which means your app can't find it in the registry.

这可能是一个Crystal报告activex控件/ dll尚未注册,这意味着您的应用程序无法在注册表中找到它。

If you can work out which one it is, use regsrv32 to register it, otherwise try re-installing Crystal reports.

如果您可以确定它是哪一个,请使用regsrv32进行注册,否则请尝试重新安装Crystal报表。

#3


The runtime version of the crystal report control is not correctly registered. Find & register 'crystl32.ocx', using regsvr. Ensure that it is in the WinSys path(i.e c:/Windows/System32). The dependacy files 'crystl32.dep' should also be on the path. This should sort you out.

晶体报告控件的运行时版本未正确注册。使用regsvr查找并注册'crystl32.ocx'。确保它位于WinSys路径中(即c:/ Windows / System32)。依赖文件'crystl32.dep'也应该在路径上。这应该把你排除在外。