I checked it. It doesn't matter doing grammer check only or with spell check, or spell check only. There is no WORD running at the background. When I do the check (grammer or spell) in the first time, it is always ok. WORD disappeared. But, in the background, there is a WORD process. So when you check it in the second time, if the text has error (grammer or spell), the WORD will show up and do the check, but it will not become disappear when the check finished. There is a WORD window (no doc in it) at the bottom. Sometimes, this focus will not come back to the program which calls the checker class. This WORD window gets the focus (although it is minimized).

I think the problem is: the checker class didn't quit WORD correctly.

I changed the code:
[vb]
If KillMe = True Then
moApp.Visible = False
End If
[/vb]

to

[vb]
Dim Ret As Boolean = KillMe ' just use the property's Get
moApp.Visible = False
[/vb]

The WORD window won't show up (of course, ), but the WORD process is still there, didn't quit. And sometimes, the spell checker window shows at below the current forum although it got focus.

I'm using winxp pro, vb express 2005 and XP_PIA_COMs (explained in #27).

I'll check more.


thanks

bear



Quote Originally Posted by RobDog888
Thanks.

Doing a grammer check only or together with a spell check?