Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP Menu is invalid
Message
De
07/07/2007 10:36:17
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
01238263
Message ID:
01238379
Vues:
6
This message has been marked as the solution to the initial question of the thread.
>OK, it's been a long time, but I do have an application in VFP6 still living. (Can't convince user to upgrade.. :( )
>
>Anyways this is the error I get with all of the menus in the application when I try to build it.
>
>Menu MAIN is invalid
>Line Number: 69,
>
>where the capitalized text is the menu name.
>
>This happens with the two other menu files as well, same error, same line number.
>As well, I cannot open the menu with the menu designer in VFP6. (I get a Menu is invalid error)
>
>Now the weird part.
>
> I would expect this if the file is corrupt, right? But if I try to use the menu file...
>i.e.
>
>use main.mnx
>
>There is no error when I try to open it this way.
>
>If I open it exclusively, I can pack etc.
>
>BTW, I tried opening it in VFP7's menu builder and it opens fine. (Made a copy of the file and opened that.)
>
>BTW, I tried the
>
>use main.mnx
>
>command in VFP7 and VFP9 and it opens no errors, just like in VFP6.
>

There were new fields added in the MNX file in VFP 7. You need to remove in order to use the menu in VFP 6. I don't remember their names offhand, but they relate to pictures on the menu and are, I think, the last two fields.

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform