ITPub博客

首页 > 数据库 > 数据库开发技术 > 水晶报表未能刷新embedded OLE objects的原因

水晶报表未能刷新embedded OLE objects的原因

原创 数据库开发技术 作者:chinaco 时间:2007-09-06 16:08:07 0 删除 编辑

“Some links could not be updated because their sources are presently
unavailable.”
It was discovered that the client created his bitmap image using another graphic
application, while the developer made his bitmap in MS Paint.Or the default open/edit graphic application was changed(e.g. to ACDSee).

In order for a graphical OLE Link Object to function correctly, the bitmap
association on the development and client PC must be to MS PAINT.

To change the association of a bitmap file:
1. In Windows Explorer, open the View menu and choose Options.
2. Select the File Types tab.
3. Ensure that Bitmap Images is to open to MS PAINT.
Crystal Reports should be shut down and reopened if an re-association is done.


Remove the OpenWithList entry for the .bmp class and place the following into a .reg file:


Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREClasses.bmp]
@="Paint.Picture"
"PerceivedType"="image"
"Content Type"="image/bmp"

[HKEY_LOCAL_MACHINESOFTWAREClasses.bmpOpenWithList]

[HKEY_LOCAL_MACHINESOFTWAREClasses.bmpOpenWithListMSPaint.exe]
@=""

[HKEY_LOCAL_MACHINESOFTWAREClasses.bmpOpenWithListois.exe]
@=""

[HKEY_LOCAL_MACHINESOFTWAREClasses.bmpOpenWithProgids]
"Paint.Picture"=hex(0):

[HKEY_LOCAL_MACHINESOFTWAREClasses.bmpPersistentHandler]
@="{098f2470-bae0-11cd-b579-08002b30bfeb}"

[HKEY_LOCAL_MACHINESOFTWAREClasses.bmpShellNew]
"NullFile"=""

Save and then run it by regedit.exe.

[@more@]

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/7223998/viewspace-968244/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
  • 博文量
    5
  • 访问量
    24845