Information générale
Catégorie:
Codage, syntaxe et commandes
>I am getting the following error reading on remote computers opening a form i created
>
>[locate class]
>error instantiating class. cannot find c:\program
>files\vfp\wizards\wizembss.vcx
>
>in fact the wizard on these computers is located in microsoft\visual foxpro 9\wizards unlike my home computer whch is as shown
>
>i am aware of the code:
>set library to locate(name_of_file)
>
>how would i set this up in this case for these computers to locate the class.
>would this work if i positioned it before the do form command?
>
>set classlib to locate(wizenbss.vcx)
No, the classlib path is stored in the SCX/VCX files - so you'd either need to make sure that all dev machines are having the same Home() folder.
Or even better, do not include files in the project from outside your project's folder hierarchy (if possible, which in your case might mean not to use the Form Wizard (or to tweak its result)).
hth
-Stefan
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement