- Kelvin Doan
- PowerBuilder
- Friday, 4 November 2022 02:07 PM UTC
I have a MS word document which contains words and images. I just want to display the whole document on popup PB window for user to read it. I created the window and RichText datawindow with one column as String with length 100 (it does not have Blob type on RichText data window) , and property is "display only". On the open event of window , I put the code as :
nteger rtn
rtn = dw_1.InsertDocument("c:\Documents\Richtextfile.doc", &
false, FileTypeDoc!)
When I ran it, nothing displays on Datawindow. Are there any ideas why the document did not show on data window. Thank you.
Find Questions by Tag
Helpful?
If a reply or comment is helpful for you, please don’t hesitate to click the Helpful button. This action is further confirmation of their invaluable contribution to the Appeon Community.