Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MENU PICTURE not in compiled .exe
Message
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00634154
Message ID:
00634256
Views:
21
>>>>Hi Ed,
>>>>
>>>>>I have added some .bmp files to be displayed as menu prompts in a VFP7 application using both the File button and the Skip For text box. In both cases the picture shows in both preview and when running the app programatically. However, when the app is compiled into an exe and the exe is run, the picture prompts no longer show.
>>>>
>>>>Have you included the BMPs in the project, so they are compiled into your EXE?
>>>>
>>>>Regards,
>>>>Armin
>>>
>>>Armin,
>>>
>>>Yes. All of the .bmp and .ico files are included/compiled in the project. I checked the generated .mpr file and everything looks fine. As a test I have some of the files selected as "File" and others pointed to via the Skip For using .F. PICTURE "c:\my directory\my_file.bmp". Both examples show up in preview and when running the app via the Mail.prg but none of them show up when running the .exe.
>>>
>>>A mystery so far.
>>>
>>>Thanks.
>>>
>>>Ed
>>
>>Will it help if you add BMPs separately into the same directory where EXE is?
>
>Nick,
>
>I went ahead and gave that a try. Just to be sure I put one copy in the main directory where the exe was and also created a \graphics sub-directory underneath the exe's directory to match the original location and put another copy there. Still no luck.
>
>Can I assume that this is not happening with others?
>
>Ed


Not with me. :) I did not use pictures in the menus so far. But similar situation was in prevous versions with custom icons for Drag & Drop which were not working from EXE unless you place them separately in EXE directory. So I thought it might apply here.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform