Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add textfile to a run-time version
Message
From
18/01/2016 10:23:03
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01629869
Message ID:
01629887
Views:
51
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)?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform