Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Problem copying file from inside exe file to SYS(2023) d
Message
 
 
À
24/08/2005 15:14:27
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8
Divers
Thread ID:
01043544
Message ID:
01043651
Vues:
13
You're welcome.

>Wow. Thank you very, very much.
>
>Alex
>
>
>>Try STRTOFILE(FILETOSTR()) combination.
>>
>>>I am having trouble copying a rich text format (RTF) file that is included in exe (in the project it shows among Other Files in Other tab) to temporary directory SYS(2023).
>>>
>>>The actual commands I use are:
>>>
>>>
>>>lcArchivoModelo = ADDBS(SYS(2023)) + JUSTFNAME(Modelos.cArchivo)
>>>TRY
>>>    lcSafety = SET("Safety")
>>>    SET SAFETY OFF
>>>    jc = [COPY FILE ] + JUSTFNAME(Modelos.cArchivo) + [ TO ] + lcArchivoModelo
>>>    &jc
>>>    llOK = .T.
>>>CATCH
>>>    llOK = .F.
>>>ENDTRY
>>>
>>>
>>>Note:
>>>Modelos.cArchivo = Modelos.cArchivo = 'Modelo_CartaTrabajo1.rtf '
>>>
>>>At the end llOK = .F. I also tried not using macro with same problem.
>>>
--sb--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform