> >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