I get this error when running the APP (the form is included in the project). The form *should* be found inside the APP.
The stange thing about this, is that if I move the code from the base class to the form, it *does* find the form. If I put it back in the class and clear the form method, I get this error.
>I assume you are getting this error in the design environment, and not in the exe...
>
>The reason that this happens, is that when in designe mode, VFP searches for files in the current directory first, and then, if not found, in all directories listed in the PATH setting. If your PATH statement doesn't include the form's directory, you'll get an error.
>
>This doesn't happen in an exe because all components in an exe know the location of all other files included in the project. You don't have to specify paths.
>
>To fix, just set up a path statement in your VFP startup program that tells VFP where to find all of your development files.
>
>SET PATH TO c:\vfp\forms; c:\vfp\programs; c:\vfp\libraries
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only