Tim,
Probably it is not Vista versus WindowsXP, but because of different Word/MSOffice versions. Try:
oDocument.Application.Quit(0)
Other than that, it looks suspicious to me that you have object oDocument, and you do not release it separately before closing Word.
If there are child objects, they should be released separately before closing the parent.
Good Luck
>I am using Automation to print a Word document. When I am done, I do
>
> oDocument.Application.Quit
> RELEASE oDocument
>
>Everthing seems fine. When look at the Task Manager, WinWord.EXE is still present when I run under Vista. Under XP it is gone.
>
>Is there some kind of Win32 API call that will let me kill WinWord under Vista?
>
>Thanks.
>
>
>Tim