I have code that opens a word file. But how do I make the Word window the active and visible one?
The following code does not do that:
loWord.documents.open(MyFile)
loWord.visible = .t. &&Word now appears in the taskbar
loWord.activate() &&the word icon in the taskbar flashes but VFP is still the active window