Word is freezing when trying to insert an image using Word Activity


My requirement is to take multiple screenshots from multiple Applications and place them in a word file along with the Application name. I used word activities to do this, at first it worked fine but after sometime, the word application is getting freeze while executing. I tried a few different available solutions in forum but they didn’t work, is there any other way to insert an image into word file without opening the document? Like Invoke code, i tried Invoke code but I am facing an issue with namespace issue(Word.Application is not defined), Please provide a solution for this issue. Thanks
Main.xaml (9.8 KB)


Try including a delay…and if you are closing and opening the word stop it and open it once and do your task and the close

For the Word.APplication try using fully qualified name like Microsoft.Office.Interop.Word.Application and that should solve the error