Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using images
Message
De
19/04/2004 19:29:00
Gerry Schmitz
GHS Automation Inc.
Calgary, Alberta, Canada
 
 
À
19/04/2004 15:58:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de menu & Menus
Titre:
Divers
Thread ID:
00896259
Message ID:
00896308
Vues:
23
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform