Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add textfile to a run-time version
Message
 
 
À
18/01/2016 10:23:03
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01629869
Message ID:
01629889
Vues:
29
Generally I agree. But in this particular case I just need this feature for my own, 'in-house' program. Since I am comfortable using Modi File from IDE it won't be a problem for me in my .EXE program. Thank you.

>Chiming in late: think more about your users and their capabilities in this. Modi File will work, but unless the user is used to the vfp IDE I'd argue against it. Naomi with Shellexec has an angle that the "typical" exe for some types according to the registry is used or you could find an editor and give the file name as a parameter. If editing is only rudimentary, filetostr, editbox, strtofile gives you more control to check the changes programmatically, for instance in JSON or INI files
>
>
>>I want to add the same, kind of, feature to the run-time (.EXE) of the application. Basically I want to have a button and when user click on this button for the program to open this text file for editing. What code would I need to put into the Click method of this button (the folder and the name of the file is already known to me, so user does not need to create it)?
"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