Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is A File Aready Open?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00710752
Message ID:
00852156
Vues:
30
>Sergey
>
>Seen your post on the subject and wondered if you could supply the other part of the answer - ie if it is open how can I close it?
>
>I am updating an Excel spreadsheet from VFP6 and no matter what I do I can't close Excel without cancelling the program - here is my close code - could you possibly shed any light - it seems to have baffled all the UT Gurus.
>
>oExcel.Quit()
>release oExcel
>lnHandle = fopen("c:\global\clientstats.xls",12
>if lnHandle > 0
>fclose(lnHandle)
>
>Then I try to email clientstats.xls and file access is denied
>
>Thanks
>
Colin,

Take a look at Re: Reporting using Excel, Excel remains open Thread #765514, Message #765789 and Message #765926 in particular.
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform