Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Generated menu not in menus directory
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00676159
Message ID:
00676472
Vues:
24
Hi Alan,

well, I had posted this message originally before I had tried to compile the project into an EXE, which doesn't work.

Rebuilding the whole project works fine, building an APP shows no errors, but doesn't really create an APP (that's what I had tried first and thought that it would work). So I think there's no chance to get this to work eventually.

Project hooks may be an alternative (copy the files from and to the menus directory before/after build), but I think I'll leave it as it is for now.

Thanks,
Armin

------ Original message

I've changed genmenu.prg as shown in the section below. I've had problems with the BUILD process when using the debugger, but without it seems to work. Nevertheless I would recommend the following:

1) MODIFY COMMAND (_GENMENU)
2) Make the changes.
3) COMPILE (_GENMENU)

Then delete the mpr files from the project's home directory and rebuild the complete project. Please let me know how this is working for you! If it does work for you, I'll add this to the FAQ section.
*
* VALIDPARAMS - Validate generator parameters.
*
* Description:
* Attempt to open the project database.  If error encountered then
* on error routine takes over and issues 'CANCEL'.  The output file
* cannot be erased, name not known.
*
FUNCTION validparams

*-- ...
   
* No ! in menu name [Rev: 6][END]

*--------------------------------------------------------------
*-- Added Nd, 07/09/02
*-- Overwrite path in m.g_outfile with the path to the mnx
*-- file.
*--------------------------------------------------------------
m.g_outfile = FORCEPATH( m.g_outfile, JUSTPATH(g_mnxfile[1]) )
*--------------------------------------------------------------
*-- End Added Nd, 07/09/02
*--------------------------------------------------------------

*
* REFRESHPREFS - Refresh comment style and developer preferences.
*
Armin

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform