Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Form not found
Message
From
23/04/1999 14:35:50
 
 
To
23/04/1999 13:37:34
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Title:
Miscellaneous
Thread ID:
00211597
Message ID:
00211643
Views:
53
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
Map
View

Click here to load this message in the networking platform