Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trouble going from project to Application
Message
 
À
18/07/2000 20:39:52
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00394121
Message ID:
00394129
Vues:
14
Michael,
The last time I had this problem there was no C:\Windows\Temp folder on the user's computer. If the user is running WinNT then their TEMP folder will be C:\WinNT\Temp. Or even another drive letter. This is not a folder that should be hardcoded unless you check it on setup - and even then users can delete the folder.

HTH
Barbara

>In VFP5.0
>I have a program that copies a file from our server to the local PC. I tested it completely as a project, and it worked in all cases. But when I built an application out of it, it crashes with an error message of:
>
>Unable to locate file C:\windows\temp\myfile.ext
>
>The line it has trouble with is:
>
>If file(serverfile)
>> copy file (serverfile) to (localfile)
>endif
>
>In the debugger window, when I check the value of the variable(serverfile), it is \\server\folder\subfolder\myfile.ext as it should be.
>
>Can someone tell me what I forgot to set?
>
>Thank you in advance.
>
>Mike Frye
Barbara Paltiel, Paltiel Inc.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform