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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement