Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Application error: can't find mpr file
Message
De
27/05/1997 15:26:04
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Divers
Thread ID:
00033460
Message ID:
00033747
Vues:
44
George,

Two additional things for you to consider...

1) IF you are invoking the menu using a "macro", then the Project Manager would not 'miss' this at build time (since it has no way of knowing at that time). The simplest way to overcome this is to add a dummy, never-to-be-executed procedure/function, probably at the end of your MAIN prog., to simply do a DO realmenu.mpr. This will cause the PM to bring it in at build time.

2) Others have reported that including a component, but in the "wrong" place, leads to trouble too. Are you sure that the menu in question is actually included in the Menu section of the PM's list??

Good luck,
Jim N

>> >I created an application that uses a customized menu. When I build the
>> executable, run the setup wizard, and then install the application on my
>> PC, the menu works fine. But when I install it on the client's PC, I get an
>> error: Can't find file c:\apps\prepay\menus\prepay.mpr.
>> >
>> >Isn't the menu incorporated into the executable? Why is my application
>> looking for this file? If I rename the directory my development files are
>> in and then try to run the program on my PC, I get a similar error, only it
>> is looking for the MPR file in my development directory and not the
>> installation directory.
>
>Are you sure that the menu is included in the Project? If it is, ensure
>that it has not been marked as 'Excluded'.
>
>Do you always run the .APP, or do you sometimes run the main procedure
>in the project? If you _never_ run the main procedure in the project,
>then look for the file:
>
>c:\apps\prepay\menus\prepay.MPX
>
>This would indicate that the menu was compiled by FoxPro outside of the
>application build and that you are running it directly, rather than
>through the application.
>
>--
>
>--
>Paul Russell
>Software Kinetics Ltd. | Phone: (902) 481-4582 Fax: (902) 468-3679
>201 Brownlow Avenue | Office: Paul.Russell@SofKin.ca
>Dartmouth | "The best evidence that time travel will never
>be
>Nova Scotia, Canada | possible is that we have not been invaded by
>B3B 1W2 | hordes of tourists from the future." - S.
>Hawking
>
>"Use technology because it's appropriate -- except in the case of 'Java'
> then just use it 'cause it's cool!" - Paul Russell
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform