General information
Category:
Coding, syntax & commands
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only