Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add textfile to a run-time version
Message
 
 
To
19/01/2016 05:49:44
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01629869
Message ID:
01629926
Views:
32
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform