I'm using one template of excel file(2003) with embed object (word document
2003). However, after we get the output excel file, the embed object word
doc is not be able to open, with error message of "cannot start the source
application for this object". 

I've tried both poi3.6 and poi3.8. it's NOT working.

Very simple sample code as below:
//read the temaplate excel with embed object
String filePathIn = "templdate.xls";
fs = new POIFSFileSystem(new FileInputStream(filePathIn));
HSSFWorkbook wb = new HSSFWorkbook(fs);   
//write the templdate excel into output file
String filePathOut="out.xls";
FileOutputStream fileOut = new FileOutputStream(filePathOut);
wb.write(fileOut);   
fileOut.close();

After that, it's not  possible to open the embed object in the out.xls. Can
anyone help on this. Thanks.



--
View this message in context: 
http://apache-poi.1045710.n5.nabble.com/POI-embed-object-in-excel-cannot-start-the-source-application-for-this-object-tp5710760.html
Sent from the POI - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to