Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP6 and Excel
Message
De
19/11/2003 19:58:04
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00806542
Message ID:
00851696
Vues:
49
>Hilmar
>
>This is my code
>
>release oexcel
> lnHandle = fopen("c:\global\clientstats.xls",12)
>if lnHandle > 0
>fclose(lnHandle)
>do kimmailer
>return
>endif
>
>Thanks
>
>Colin

I see. I don't remember the exact command, but I think you need to start with a "quit" or "exit" command, or something similar:
oExcel.Quit() && ???
release oExcel
IOW, releasing the object variable will not automagically close Excel.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform