C
cduden
I'm linking an excel workbook programmatically to a powerpoint presentation
via an add-in written in C#. When opening the presentation, I check the
document to see if it is the latest version, refresh the object if it isn't,
and powerpoint spawns an Excel process that never goes away, which
effectively prevents a user from viewing the object in Excel. I get "file is
already open" errors. I close ppt, and the excel process hangs about.
I am using ReleaseComObject, GC.Collect, and GC.WaitForPendingFinalizers to
release any references I have to a Shape, LinkFormat, Slide, Presentation,
etc.
Any ideas other than horrible hacks(I have those well in hand) to get rid of
that process?
Thanks
CMD
via an add-in written in C#. When opening the presentation, I check the
document to see if it is the latest version, refresh the object if it isn't,
and powerpoint spawns an Excel process that never goes away, which
effectively prevents a user from viewing the object in Excel. I get "file is
already open" errors. I close ppt, and the excel process hangs about.
I am using ReleaseComObject, GC.Collect, and GC.WaitForPendingFinalizers to
release any references I have to a Shape, LinkFormat, Slide, Presentation,
etc.
Any ideas other than horrible hacks(I have those well in hand) to get rid of
that process?
Thanks
CMD