Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Add textfile to a run-time version
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01629869
Message ID:
01629877
Vues:
36
>>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.

Thank you.
"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