Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Locating _menu.vcx
Message
From
07/08/1999 15:38:19
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00250907
Message ID:
00251139
Views:
22
>I have a form that is using a shortcut menu from the vfp 6.0 foundation class.
>
>When another developer runs this form from his computer he gets the message "Can't locate _menu.vcx".
>
>I see in the form property sheet for the oShortCut that the class library says "c:\vfp98\ffc\_menu.vcx". Where the other developer has vfp6 installed under a different directory structure.
>
>What is the solution to this?
>
>Thanks,
>Paul

Hi Paul:

We try to have all our developers install to the same directory structure, which mitigates this sort of problem. Another approach we use, for when we migrate stuff back up to the network, is to run a utility program that opens the VCXs and removes any pathing from the ClassLoc field, blanks out the OBJCODE field and does a COMPILE CLASSLIB. We have only a loader EXE, then run individual FXPs, SCXs, etc. and use a VFP PATH setting (done early in the root module) to let the EXE find its needed files at (development and) runtime.... Might seem Neaderthal to many, but its a pretty painless way to permit on-the-fly updates for all on the network without the need to shut everyone down for a new EXE. In the future we plan to migrate to an application launcher approach (as has been discussed in FPA and elsewhere here), but we're not there yet. In any case, it works for us now.

HTH

Rob
Previous
Reply
Map
View

Click here to load this message in the networking platform