Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does Foxpro know if an Excel workbook is being modified?
Message
From
20/11/2000 13:45:49
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00443610
Message ID:
00443743
Views:
10
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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform