I am writing a simple Word Interop application that opens a .doc file in the background, changes the contents of bookmarks, and then makes it visible to the user:
var App = new Microsoft.Office.Interop.Word.Application(); var ParTemplate = (object)Template; var ParVisible = (object)false; var Doc = App.Documents.Open( FileName: ref ParTemplate,
In fact, the Word application appears on the taskbar, and the user must switch to it manually.
What is the best way to draw my application's attention to an open Word document?
Larry source share