Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add textfile to a run-time version
Message
De
18/01/2016 10:23:03
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01629869
Message ID:
01629887
Vues:
50
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)?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform