Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error locate class
Message
From
09/12/2009 02:43:30
 
 
To
09/12/2009 01:30:54
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01438156
Message ID:
01438159
Views:
38
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform