I utilize VB6 to open and save many Microsoft Word XP documents each day. I open Word with the following code:
Dim ObjWord As Object
Set ObjWord = CreateObject(“Word.Basic”)
With ObjWord
I close the program with:
ExitHandler:
On Error Resume Next
Set ObjWord = Nothing
ObjWord.Quit
Set ObjWord = Nothing
Exit Sub
I have noticed when I open Task Manager that there are numerous instances of WINWORD.EXE that are present. Is there anything I can do to completely close the WINWORD.EXE files when I close the VB6 program? As always, thank you!
Bob Nichols