Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Does Foxpro know if an Excel workbook is being modified?
Message
De
20/11/2000 13:45:49
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00443610
Message ID:
00443743
Vues:
18
Nadya,
The low level file function idea does work well. Using fopen() returns -1 if you try opening an excel file for read\write access that is aleady opened by someone else. A potential problem I see is this: If fopen() returns a non -1 number logic tells you that the file is free to be modified. But what if from the time fclose() is issued to the time it takes Foxpro to open the excel object through ole someone else on the network opens that same excel file? This probably is a rare occasion, so maybe it will not matter.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform