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:
01456195
Views:
54
>>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.
>
>
lcRtf = FILETOSTR(< Embedded file name >)
>...
>


Thank you - that was it.

Ironically, I was doing this exact thing in another part of the application for a different file but completely forgot about it! Ugh.
Jon Rosenbaum
Devcon Drummer
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform