Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Brain freeze: Referencing an embedded document
Message
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01456175
Message ID:
01456182
Views:
37
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform