>After I compile an application in the project manager and check the box to run after building the exe. file , it runs okay in the VFP screen.But if I build the exe file and do not okay the run after build check box and then run the file in the explorer the file runs and open the VFP screen and then gives this error:
>
>Error loading file - Record number 5. Form1 < or one of its members>.Loading form or the data environment : File access is denied.
>
>Also there is a message box with Cancel , Ignore and Help buttons along with the above message specified but there is no help activated.
>
>The error is caused whenever visual foxpro is opened and the compiled application is run via explorer but never when VFP is closed. What goes?
>Thank You All
>Zaraq Bari
Sounds like you need to SET EXCLUSIVE OFF. This is scoped to private data sessions.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer