从eclipse打开excel文件时出错

时间:2021-05-05 23:27:20

I am getting following error on

我收到了以下错误

Cannot create the in-place editor

无法创建就地编辑器

This is probably because there is no OLE editor registered against the type of file you were trying to open. Failed to create Ole Client. result = -2147417851

这可能是因为没有针对您尝试打开的文件类型注册的OLE编辑器。无法创建Ole Client。结果= -2147417851

I have MS office 2007,and the excel file is stored as "save as 2003 version".

我有MS office 2007,excel文件存储为“另存为2003版”。

1 个解决方案

#1


7  

I'm using 3.5 so things could be different. Window->Preferences->General->Editors->File Associations.

我使用3.5,所以事情可能会有所不同。窗口 - >首选项 - >常规 - >编辑器 - >文件关联。

Add *.xls and add Associated Editor (from this window you can select external programs to open with)

添加* .xls并添加关联编辑器(在此窗口中,您可以选择要打开的外部程序)

I think you should be able to open the excel file inside and eclipse editor, but it looks like the OLE is not working on your system for some reason.

我认为你应该能够在里面打开excel文件和eclipse编辑器,但看起来因为某种原因OLE不能在你的系统上运行。

#1


7  

I'm using 3.5 so things could be different. Window->Preferences->General->Editors->File Associations.

我使用3.5,所以事情可能会有所不同。窗口 - >首选项 - >常规 - >编辑器 - >文件关联。

Add *.xls and add Associated Editor (from this window you can select external programs to open with)

添加* .xls并添加关联编辑器(在此窗口中,您可以选择要打开的外部程序)

I think you should be able to open the excel file inside and eclipse editor, but it looks like the OLE is not working on your system for some reason.

我认为你应该能够在里面打开excel文件和eclipse编辑器,但看起来因为某种原因OLE不能在你的系统上运行。