>I have a small RTF file added to my project in the Text Files section and it's flagged as included in the project. At some point in the app, I would like to open this file and place its contents into an RTF control.
>
>Unfortunately, I'm drawing a blank on how to properly reference this RTF file from a path perspective so that VFP can successfully find it and not error out.
Try using this
lcNewFilePath = strtofile(filetostr('myFile.rtf'),'c:\temp\myNewFile.rtf')
to create this file on disk.
If it's not broken, fix it until it is.
My Blog