Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP Project With Source Safe Takes Long Time To Open?
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00229403
Message ID:
00231026
Views:
21
Hi Michael,

>Your project is considerably smaller than mine. I wonder if that makes a difference...

OK, than there could be another reason. VFP queries the status of each file when it opens the PJX file. In this case disconnecting the project temporarily from the VSS database should help:
#Define ccProject MyProject.Pjx
Use ccProject
Replace all User with Iif(Local,"Y","N")
Replace all Local with .T.
Use
Modify Project ccProject Nowait
Use ccProject Again Shared
Replace all Local with User=="Y"
Use
The drawback of this approach is that when you open the project, you get the file status is the one that was current when you closed the project the last time. IOW, you don't see the current check out status. But when you try to modify a file, VFP queries the status for this file again, so it won't report any error. Also, changing the tab does requery the file status.

Christof
--
Christof
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform