Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problem when regenerate a menu with image
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00673341
Message ID:
00673531
Views:
19
Eric,

This is a known issue with VFP7. The work-around is instead of using the Picture option in the menu designer, add the code to the "Skip For" textbox.

example:

.F. PICTURE 'graphics\bitmapname.bmp'

When you then generate the menu, the .MPR file will generate the correct syntax.

HTH
Kurt
>Hi all!
>
>Recently I upgrade a small project from VFP6 SP3 to VFP7 SP1.
>So VFP needed to upgrade my menu since the definition as changed, that OK no problemo!
>
>I put some images in my menu, and it look good!
>
>The problem is that now, every time I had a new option in the menu and then generate it, when I run my application, it give me an error:
>
>Error : 2022
>S:\GCCPRO\WSMAIN.MPX
>Err.mess.:The specified file or path was not found.
>
>And if I return in my menu with the menu designer, the path of all my images has changes to something like: data\gra\image.bmp instead of s:\dgcwin\gra\image.bmp???
>
>To be able to make it work again, I have to pass thru each image and reselect all image with path selection button "..." in picture section.
>
>Is it a bug?
>Am I the only one having this problem?
Previous
Reply
Map
View

Click here to load this message in the networking platform