InlineShapes.AddOLEObject inserts image in word 2007 instead of embedding

I am having an issue with embedding excel 2007 object into word 2007.
Here is my code:

// 'Embed, not link
Object LinkToFile = false;
// 'Add OleObject
MSWord.InlineShape shape = wdDoc.InlineShapes.AddOLEObject(ref ClassType, ref ExcelFileName, ref LinkToFile, ref missing, ref missing, ref missing, ref missing, ref missing);

But this seems to insert an image, not embed the excel object.
Please HELP!


Thanks for your request. As I can see, you do not use Aspose.Words in your code. Aspose.Words does not provide a functionality to insert OLE objects into the document.
Best regards.

The issues you have found earlier (filed as WORDSNET-1206) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.