Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Howto close all Excel Applications
Message
 
À
16/03/2001 13:08:29
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00485601
Message ID:
00486040
Vues:
16
Cetin,

Yes, I saw it in the past. But what is intriguing, that now while not using automation and playing with omly API I get negative windowhandles in similar situation. It looks strange to me. I thought it could be only positive valid numbers. And yes, I am able to close Excel via sendmessage using negative handle.


>>>>>>>>>>>>>>>previous message
Yuri,
BTW as a sidenote if you're using Excel tasks via automation be sure to keep oExcel in scope till Excel shuts down and do not attempt to use oExcel after it's shutdown. Otherwise you can expect crashes (like the one you said 'Memory couldn't...') ie: result is different when user presses Ctrl+F4 or Alt+F4 in Excel.
Cetin
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform