Use FILETOSTR() to read the file into a variable or property, then set that as the ControlSource of an Editbox.
>Hi!
>
>We would like to display a text file using a Visual FoxPro form, so the user can display it by pressing a button. So far, we have not been able to find any assistance in the VFP help or in the several books we have here. Our initial idea is to use a text file that is stored as part of the VFP project.
>
>Any ideas?
>
>Thanks.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer