Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Reporting using Excel, Excel remains open
Message
De
13/03/2003 14:55:25
 
 
À
13/03/2003 14:39:14
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de rapports & Rapports
Divers
Thread ID:
00765514
Message ID:
00765542
Vues:
26
>>'Release' will only release the variable. It won't take XL out of memory, and it really isn't needed anyway if oleexcel is local. oleexcel.quit() is the way to go as Selim pointed out.
>
>also Selim is correct, and this is also the more correct way, realese oleexcel will terminate excel. try and watch the task manager:
>oleexcel = CREATEOBJECT("Excel.application")
>release oleexcel
>
>i would think that this would be equal to terminating the process in the task manager.

Yes, you're correct. I just tested it, and release does close XL. Somehow using the XL object to close itself still seems more OOP though.

Alan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform