Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Add textfile to a run-time version
Message
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
01629869
Message ID:
01629871
Views:
51
>Hi,
>
>I am sure everybody know that in the VFP IDE project Other tab there is an item TextFile where you can add a text file. And then you can edit this text file from the IDE.
>
>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)?
>
>TIA

If it's a notepad file then ShellExecute should also work fine to open the file. In fact, ShellExecute will work with many types of files.
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform