Bug 322491 - SWT OleClientSite: Don't load a no-real xls file in Excel
Summary: SWT OleClientSite: Don't load a no-real xls file in Excel
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.0   Edit
Hardware: PC Windows XP
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 05:25 EDT by Cebb13 CLA
Modified: 2019-09-06 16:08 EDT (History)
0 users

See Also:


Attachments
a screen shoot of my error (88.29 KB, image/png)
2010-08-12 05:27 EDT, Cebb13 CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Cebb13 CLA 2010-08-12 05:25:08 EDT
Build Identifier: 20100218-1602

I have an Excel file in OfficeML format, MyData.xls, but it's not really a XLS format but a HTMLfile with a XLS extension. Since I upgraded to Office 2007 from Office 2003 I get a warning message saying that the file content does not match the file extension. It seems that OfficeML now check if the file is a pure XLS file or not.

In my application I use OleClientSite to display the file in an OleFrame object. If I change the file extension to 'HTML' then Excel is not started. If I leave the extension as 'XLS' then I get the above warning message.

How can I force the file with the 'html' extension to be opened in the OleFrame using Excel?

Reproducible: Always
Comment 1 Cebb13 CLA 2010-08-12 05:27:47 EDT
Created attachment 176445 [details]
a screen shoot of my error
Comment 2 Eclipse Webmaster CLA 2019-09-06 16:08:08 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.