General information
Category:
COM/DCOM and OLE Automation
John:
>>oDoc = .Documents.Open(lcTemplate)
>>... Do some stuff
>>oWord.Visible = .T.
>>oWord.WindowState = 0
>>oDoc = .NULL.
>>RELEASE oDoc
>>oWord = .NULL.
>>RELEASE oWord
Is it possible that you are updating your document and/or template in the "Do some stuff" and not saving changes (this could be a problem if the user has the prompt to save Normal.Dot option selected) before yopu attempt to quit Word? If this is the case, it's possible that the Quit call is rejected by Word.
Daniel
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only