Information générale
Catégorie:
COM/DCOM et 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
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement