It took 4s to quit word. Why?

L

liu_jz

I wrote a program in VB6 as follows. It is very slow to quit Word. The
statement "gwdApp.Quit" took 4s. Why? How to speed up it?

Thanks!
Liu Jianzhong


Dim gwdApp As Word.Application
Dim gwdDoc As Word.Document

.......
gwdDoc.Close
Set gwdDoc = Nothing
gwdApp.Quit <------ It took 4s.
Set gwdApp = Nothing
 
Top