Hi!
I think, you have about form included into project, and VFP opens file from EXE content.
>I'm working on a small app to help users replace the classes used in forms. The app works great except if the file is named about.scx, it opens the file but it's read-only. This only happens when I compile to a .app file and run it, I don't get the error when I open the from run it from the IDE
>A button allows the user to pick a .scx to edit and stores it in a property on the form called FormToEdit. I open the .scx using the following line of code:
>
USE (THISFORM.FormToEdit) IN 0 EXCLUSIVE ALIAS "tForm"
>If the file can't be opened exclusively, the error handler traps error #3 and notifies the user. When the file is named about.scx it appears to open fine with no error.
>Another method replaces the class and classloc fields with the following code:
>
REPLACE CLASS WITH LOWER(ALLTRIM(THISFORM.NewClass)) IN tForm
>REPLACE classloc WITH LOWER(ALLTRIM(THISFORM.NewClassLoc)) IN tForm
>When the file is named about.scx both lines of code cause error "#111 - Cannot update the cursor"
>If I rename about.scx to about1.scx it's works fine.
>Does anybody why this would happen. I'm stumped.