I have created PowerPoint add-in using VB.NET 2008. I have added ShockwaveFlash object in PowerPoint slide. Now I want to retrieve this ShockwaveFlash object. For this I have copy the PowerPoint shape by PowerPoint.Shape.Copy() method. It goes to Clipboard object. Now I am trying to get this shape object from Clipboard by Clipboard.GetData("Office Drawing Shape Format") method. This method works in PowerPoint 2003, 2007 and 2010. When I try same thing on PowerPoint 2013, I didn't get any data from Clipboard. Could you please help me to resolve this issue?
I have tried Clipboard.SetData method also. Now the Clipboard.ContainsData("Office Drawing Shape Format") returns true on PowerPoint 2013. But when I tried to get actual data by:
Clipboard.GetData("Office Drawing Shape Format")
Or
Clipboard.GetData(System.Windows.Forms.Clipboard.GetDataObject().GetFormats()[0])
It returns "null". How to retrieve the data from clipboard?
Thanks for your help.