Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Project With Source Safe Takes Long Time To Open?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00229403
Message ID:
00231026
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform