Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying a Word Doc while opened by others
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Copying a Word Doc while opened by others
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01081994
Message ID:
01081994
Views:
39
I have a VFP routine that opens a worddoc, performs bookmark substitution, saves the doc to a new file name, prints/emails it, then discards the changing to the original doc. In a busy multi-user environment, other users encounter contention problems if the doc is already opened. I have been doing some testing here on a machine where i copy the doc to a unique, temporary filename and then perform the bookmark sub to avoid contention. I'm finding that in Win98, fox can copy the file even though its already opened (by me), but am wondering if this is true for the other flavors of windows.
Next
Reply
Map
View

Click here to load this message in the networking platform