Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Form not found
Message
De
23/04/1999 14:35:50
 
 
À
23/04/1999 13:37:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00211597
Message ID:
00211643
Vues:
60
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform