Word doesn' open on top of windows

Peter Shaw 41 Reputation points
2022-09-02T06:11:48.75+00:00

I am writing an app that opens a MS Word document by clicking on a file name (see an attached screenshot).
I use the commands:

aWordApplication.Visible = True
aWordApplication.Documents.Open(aFileName)
aWordApplication.Activate

Doing this, MS Word application runs (see the Word icon on the taskbar on the attached screenshot).

The problem is that I have to click the word icon to see the actual document.

I found there is a service called Microsoft Office Click-To-Run, I stopped it, try my app again, the Word start slower, then I found the Microsoft Office Click-To-Run running again.

Would you please help me to fix the problem, let a document opens on top of windows? Thanks.

237156-3.png

Word Management
Word Management
Word: A family of Microsoft word processing software products for creating web, email, and print documents.Management: The act or process of organizing, handling, directing or controlling something.
896 questions
{count} votes