Information générale
Catégorie:
Gestionnaire de rapports & Rapports
>>Just want to add to your discussion that even doing plain:
>>*----------------
>>objexcel=createobject("excel.application")
>>objexcel.quit
>>*---------
>>may be not enough to make Excel go away.
>>
>>If you enter those two lines manually from command VFP window, what happens?
>>
>
>It leaves memory just fine. Now actually do something with your Excel object and see what happens.
No, it does not always leave memory. If Excel is installed on the user PC, it quits fine usually, but if Excel is installed on the network, it does not (even in this simple two-lines code if call from command window. And this is my point: always use objexcel=.null.
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