Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Rich text and Intraweb

edited May 2012 in General
I have another issue with a report in rb 14.4.

I have a report that has richtext in it and it is being printed to pdf.

If I generate the report from a win32 application everything looks good.

If I generate the report from a Standalone Intraweb application it will
not print the richtext on the report.

Any ideas

Joel

Comments

  • edited May 2012
    Hi

    Not sure if the following helps any but I have also had problems with Rich
    Text (in general - not Report Builder specific) where the Rich Text
    component was not visible (particularly on win32 service applications).

    The only way I found round the problem, so far, is to use the TRichView
    components from www.trichview.com.

    Regards

    Philip L Jackson




  • edited May 2012
    1. Try adding the following code. For a threaded app, COM must be
    initialized for each thread. (The RB RichText relies upon TRichEdit which
    relies upon the MS RichEd.dll which is COM based. )

    ActiveX.CoInitialize(nil);

    try
    // then print the report
    finally
    ActiveX.CoUnInitialize;
    end;

    2. Try updating to RB 14.05, we had one fix that improved threading support
    for RichText. (I don't think this is your issue, but this fix will help
    performance)


    -
    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.