简体   繁体   English

水晶报表中缺少导出Excel

[英]missing export excel from crystal report

I have a vb6 application with crystal report 8. Running this application - 我有一个带有Crystal Report 8的vb6应用程序。运行该应用程序-

  • on window xp: one pc has Excel option like the below picture but another pc doesn't have 在Windows XP上:一台电脑具有Excel选项,如下图所示,但另一台电脑没有
  • on window 7: no Excel option 在窗口7上:没有Excel选项

导出水晶报表8

I browsed /windows/crystal and found U2FRTF.DLL is extra. 我浏览了/ windows / crystal,发现U2FRTF.DLL是多余的。 And then I put it under another xp pc but still not see the option. 然后我将其放在另一台XP PC下,但仍然看不到该选项。 Am I missing some steps - register dll ? 我是否缺少一些步骤-注册dll?

在一个窗口XP中的DLL

I'd like to have this excel option on window 7 64 bit. 我想在Windows 7 64位上使用此excel选项。 Please share your ideas. 请分享您的想法。

Thank you. 谢谢。

The problem is that the 64 bit Windows system will open the 64 bit ODBC manager, but VB6 is 32 bit application. 问题是64位Windows系统将打开64位ODBC管理器,但是VB6是32位应用程序。 So you need to open the 32bit DSN manager to add your DSN. 因此,您需要打开32位DSN管理器来添加您的DSN。 It can be found under: C:\\Windows\\SysWOW64\\odbcad32.exe 可以在以下位置找到它:C:\\ Windows \\ SysWOW64 \\ odbcad32.exe

You need to copy the dll with XLS in the name , probably u2fxls.dll. 您需要使用名称可能为u2fxls.dll的XLS复制dll。 Check if there are any other dlls with XLS on the machine where this is working. 检查在这工作的机器上是否还有其他带有XLS的dll。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM