>>oWord = createobject( "word.application" ) && Word97
NO office SPs installed.
>>oWord.Visible = .t.
>>
>>Ok, Word shows up on top of the VFP window as an inactive window, and remains there on top even after clicking around in the VFP window. The Word window won't go behind VFP until I click it to make it active and then click back to VFP.
>>
>>Any ideas on how to get around this?
>
>Hi David,
>
>I haven't tested this, but I'd look at the SetWindowPos() function. If it can set the attributes of the window as being always on top, surely it can set it as something else.
You could use the api and showwindow to minimize the Word window.
John Harvey
Shelbynet.com
"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright