Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add textfile to a run-time version
Message
 
 
À
19/01/2016 05:49:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01629869
Message ID:
01629926
Vues:
31
>if you work on ansi languages ,you can use
>
>modi file getfile('txt') 
>
>but better you can execute:
>
>! /N notepad "you txt file literraly.txt"
>
>
>Why ?
>VFP dont suppport unicode languages and when editing the unicode or utf-8 txt file you show
>some unwanted and missUnderstanding chars (even as a part with ansi chars).
>Notepad is a light universal tool supportung unicode, UTF-8...
>you have the text (even another extensions as html...) as it with no modification.can modify and save
>without problem.
>Of course can also use shellexecute with notepad or the vfp native class _shellexecute (FFC).
>can also use API winExec who accepts parameters or wscript shell.run (script based).

Thank you very much.
"The creative process is nothing but a series of crises." Isaac Bashevis Singer
"My experience is that as soon as people are old enough to know better, they don't know anything at all." Oscar Wilde
"If a nation values anything more than freedom, it will lose its freedom; and the irony of it is that if it is comfort or money that it values more, it will lose that too." W.Somerset Maugham
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform