Word Interop Supress / Handle Errors
C#
1
Posts
1
Posters
0
Views
1
Watching
-
Hi guys! Am currently writing some code for creating Word files dynamically. Have to embed OLE Objects such as PDFs. This works fine up to the moment where I have a corrupted file which can not be embedded. Used try/catch by the InlineShapes.AddOleObject() Method, but a messagebox is presented and the program stops until I hit ok. Is there a chance to do the errorhandling for this? Thank you in advance!