Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copying files opened exclusive.
Message
From
27/01/2009 15:23:36
 
 
To
27/01/2009 09:15:38
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Project manager
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Vista
Miscellaneous
Thread ID:
01376828
Message ID:
01377495
Views:
13
>>I am working on a Project Hook that will make a backup copy of the project currently open. The problem is that FoxPro opens the Project file (and at times others) as exclusive. Does anyone know of a command line method (either in Fox or DOS, or even WINAPI) where I can force a copy to be made to the desired destination?
>
>Strtofile(filetostr()) helped me once in a similar situation - don't remember exactly what, just rings a bell.
>
>Stool. Won't work with an open project. Too bad.

I have noticed that the File -> Save As menu option will create a copy of the open project. But question is how to automate it. It would also be nice it would copy the project without presenting the Save As dialog. Any ideas?
Greg Reichert
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform