Information générale
Catégorie:
Codage, syntaxe et commandes
>>Switching from VFP6 to VFP9 and having a problem with the resource table that is opened exclusive. Each client has their own resource file. Open it exclusive to limit their ability to log on from multiple desktops. Once I leave the application and return to the project manager the table is not open (per the Data Session window), but the lock is not released and I can not open the table or run my application again - without exiting the VFP9. I read the resource files in VFP9 where now opened sharable, but how is that >>keeping my lock?
>Brenda,
>
>You cannot see foxuser.dbf in the Datasession window because it's open by >VFP in the System datasession which is invisisble. VFP9 or VFP9 application >opens foxuser.dbf shared. Are you openning foxuseer.dbf exclusivly in your >program? What error do you get when you cannot start application again?
Well ... I tested in both VFP9 and VFP6. Excuted my application from the project manager and then returned to the project manager. This is what happens from the Command Window. BTW - bg.dbf is my resource file that I open exclusively in my applicaiton.
The following both work in VFP6 and neither work in VFP9 - "File is in use".
USE c:\rt50v538_old\resource\bg.dbf IN 0 SHARED
USE c:\rt50v538_old\resource\bg.dbf IN 0 EXCLUSIVE
Either of the above will work in VFP9 if AGAIN is added.
VFP9 will NOT let me delete the bg.dbf file using Windows Exporer -"It is being used by another person or program"
VFP6 will let me delete the bg.dbf file.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement