Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Directory Confusion
Message
De
10/12/1998 13:28:45
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00166168
Message ID:
00166222
Vues:
17
>>>I have this code:
>>>
>>>lcGenFile = pcDataDir+"\tripsoft.krt"
>>>lcNewGenFile = lcPath+"\tripsoft.krt"
>>>COPY FILE (lcGenFile) TO (lcNewGenFile)
>>>lcGenFile = pcDataDir+"\tripsoft.fxp"
>>>lcNewGenFile = lcPath+"\tripsoft.fxp"
>>>COPY FILE (lcGenFile) TO (lcNewGenFile)
>>>
>>>When it gets to the last line, it tells me it can't find "C:\Windows\Temp\tripsoft.fxp". Where's it getting that from?
>>>
>>>Thanks,
>>>
>>>-Michelle
>>
>>Can you trace the code through the debugger to watch the value of pcDataDir?
>
>
>Well, the debugger's no good. It turns out to only happen in the exe. I put up a message box with the value right before the copy command, and it has the right directory in it. I'm baffled.
>
>Thanks,
>
>-Michelle

Are you building you path off of the start of VFox ??? I've enocuntered odd behavior trying to do so in an EXE but it works fine in development mode.

Jason
Jason Tryon
Senior Systems Analyst / Technical Lead
eBusiness / iPage
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform