Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Cannot create file
Message
De
04/04/2003 09:02:57
 
 
À
04/04/2003 08:36:51
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00773516
Message ID:
00773963
Vues:
9
Tom, instead of EXECSCRIPT() compile the program yourself using COMPILE. EXECSCRIPT() does this anyway - it writes the code out to a temp file and compiles it and then runs it. It is giving you an error in the COMPILE part where it is trying to create an FXP file. Do this process yourself and then you have total control over the whole process including temp file name and location.


>It is a DLL
>
>>>Jos, since I am using the EXECSCRIPT() function it is creating
>>>the temp file names on the fly. I have NO control over the file
>>>names. This is VFP 7 code running under Windows 2000 and COM+.
>>>
>>
>>I'm not sure if the VFP code that's running is an EXE or a DLL. But if its an EXE, try creating a CONFIG.FPW file, same folder where the EXE is, with the following settings pointed to a subfolder from where the EXE is located. This will redirect the temporary files created by VFP to these specified locations. This also provides increase in performance.
>>
>>TMPFILES=ExeFolder\TEMP
>>EDITWORK=ExeFolder\TEMP
>>PROGWORK=ExeFolder\TEMP
>>
>>Hope this helps.
In the End, we will remember not the words of our enemies, but the silence of our friends - Martin Luther King, Jr.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform