Question

After opening a Word document, using .NET interop, a dialog box is created that blocks programmatic editing of the opened file. The user cannot see the winword.exe process and so cannot close the dialog. Is there a way to close a dialog or to prevent them being opened on startup?

I believe it might be the dialog asking first time users to set their name and initials.

Note: I know that it would be nicer to avoid using the interops and am familiar with Aspose products.

Was it helpful?

Solution

See my answer here.

Basically, you need to disable all "alerts", such the dialog that you describe above. Instead of "MSProject", use "Word" of course.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top