Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Excel.exe remove from memory
Message
De
13/02/2009 07:06:15
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Excel.exe remove from memory
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01381535
Message ID:
01381535
Vues:
85
Hi.
I've created an Excel object named 'oExcel'.
Then, I've loaded a XLS file and read information from it.
When done I've issued 'oExcel.Quit()'.
I've noticed in the Windows Task Manager that the process
'excel.exe' didn't unload from memory. To unload it I've had
to issue an 'Release oExcel'.
Is that the correct way?
Here is the pseudo-code
vFile = 'my file'
oExcel  = CreateObject("Excel.Application")
oWorkbook = oExcel.Workbooks.Open(vFile)

... bla bla bla ...

oExcel.Quit()
RELEASE oExcel
***
TONY Nascimento
*****************

"Your mind is like a parachute. It only works if it is open" - Anthony J. D'Angelo

"The desire to know is natural to good men" - Leonardo da Vinci
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform