Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Included BMP files in project and compiled program...
Message
De
15/05/2007 09:46:03
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Included BMP files in project and compiled program...
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01225517
Message ID:
01225517
Vues:
58
My bmp image files are included in my project. And theses files are also in Visual SourceSafe. No CheckOut has been done. Then all files are ReadOnly. Before compile program, if I do the following commands everything works fine.

obj = LOADPICTURE("c:\MyProject\images\01.bmp")
SAVEPICTURE(obj, "x:\NewDestination\01.bmp")

But when the program is compiled, the first step works...
obj = LOADPICTURE("01.bmp")

but not the second, I got an error on this...
SAVEPICTURE(obj, "x:\NewDestination\01.bmp")

the error is "file access denied".
The problem comes from VSS where the "c:\MyProject\images\01.bmp" is readonly. Because if I do CheckOut in VSS, I don't have that error. I don't understand why in command window savepicture works but not after compilation. Why it try to access my bmp file when program is compiled and not in command window?
Marc Levesque
La Prairie, Quebec (CANADA)
marc.levesque@videotron.ca
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform