Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem with copy file command
Message
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Problem with copy file command
Divers
Thread ID:
00429229
Message ID:
00429229
Vues:
34
Hello,

I have a .bmp file included in the executable, and what I try to do is to copy this .bmp file to a temporary file during the program execution.
the file that is included in the exe is in the project directory in a subdirectory, but the project manager has no problems with that.

But in the code when I say COPY FILE Mybitmap.BMP TO tmpfile.BMP, it gives me the error "File c:\Test\subdir\Mybitmap.BMP does not exist". Why does the program search in a subdirectory in this case? I thought, when the file is included in the exe, it searches first in the exe file itself.

Can anybody clear this up for me? I tried several things, but it does not look very logical to me.
Christian Isberner
Software Consultant
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform