Bug 322491

Summary: SWT OleClientSite: Don't load a no-real xls file in Excel
Product: [Eclipse Project] Platform Reporter: Cebb13 <seb_tr>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: NEW --- QA Contact:
Severity: major    
Priority: P3    
Version: 4.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
a screen shoot of my error none

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.