Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using images
Message
From
19/04/2004 19:29:00
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
To
19/04/2004 15:58:33
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Title:
Miscellaneous
Thread ID:
00896259
Message ID:
00896308
Views:
24
This message has been marked as the solution to the initial question of the thread.
Create an "externals" .PRG as part of your project. As per "images", consider the following:
   EXTERNAL FILE AA.BMP          && Access Authorization.
   EXTERNAL FILE CA.BMP          && Cost Accounting.
etc
>This is the first time I use images in the menu within an EXE. I just found that if I have the Picture item having a File value of "d:\main\images\new.gif" in my development environment that it won't be able to find that file within an EXE. When I run the EXE, it gives me an error that the file or path is not found. How should I manage that so it will run ok within an EXE?
>
>For example, I have that value in my menu for Picture, File:
>
>
>d:\main\images\new.gif
>
>
>The Menu MPR file gives this:
>
>
>DEFINE BAR 1 OF gcfile PROMPT "&gcNew" ;
>	SKIP FOR NOT oApp.oToolBar.cmdNew.Enabled ;
>	PICTURE "..\..\main\images\new.gif"
>
>
>So, it tries to make it relative but within an EXE, this doesn't work.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform