You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@poi.apache.org by Les Walker <le...@genband.com> on 2011/09/27 18:04:08 UTC

Error opening embedded docs

We are working on an application that uses POIFS to embed OLE docs in Excel. So far we have been able to embed successfully with POIFS and add the icon linkage to it so Excel shows the icon as an embedded worksheet . When opened opening the embedded doc from Excel, the the error: "Cannot start the source application for this object" is displayed.  Can someone point me to the records or settings to allow Excel to see this as the correct document type (Excel doc in this case)?



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Re: Error opening embedded docs

Posted by Nick Burch <ni...@alfresco.com>.
On Tue, 27 Sep 2011, Les Walker wrote:
> We are working on an application that uses POIFS to embed OLE docs in 
> Excel. So far we have been able to embed successfully with POIFS and add 
> the icon linkage to it so Excel shows the icon as an embedded worksheet 
> . When opened opening the embedded doc from Excel, the the error: 
> "Cannot start the source application for this object" is displayed. 
> Can someone point me to the records or settings to allow Excel to see 
> this as the correct document type (Excel doc in this case)?

It won't be pretty, but your best bet is to create a doc in excel with say 
3 or 4 attached documents, and run BiffViewer against them. Look for the 
common parts relating to the attachment, that's your list of records you 
need. Then, see how they differ, that's the list of records you need to 
change between each attached document...

If you do get it working, we'd love a patch!

Cheers
Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org