Home General

RichText LOADFROMFILE not working

edited July 2001 in General
We upgraded to RB6 a couple nights ago and have found an apparent
incompatibility from earlier versions like 5.6.

The LOADFROMFILE(filename) now does not load our rtf document. We get no
error but the file is NOT loaded. Are we missing something? Has anyone
experienced this issue?

Thanks, Dan

Comments

  • edited July 2001

    Just tried it here and it works fine. I do not think anything related to
    loading rtf data has been modified for D6. I added a TppRichText to a
    report and coded

    ppRichText1.LoadFromFile('c:\Program
    Files\Borland\Delphi6\Install.Rtf');


    Perhaps you were using ReportBuilder's Infopower support. In that case
    you would need to recompile the rbIP* package. Check out
    RBuilder\InfoPower\ReadMe.doc.





    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2001
    For this particular application we were using Delphi 4 and RB5.6 and it
    worked fine. After upgrading to RB6 it quit working. Could there be a
    problem with Delphi 4 and RB6?

  • edited July 2001

    Tried it with D4 and RB 6 but still could not reproduce a problem. Try
    the code I showed below. If that works, then construct a simple Delphi
    project that demonstrates the issue and e-mail to
    support@digital-metaphors.com.

    You can also try testing with a different printer driver - that could
    play into things since Windows depends on the driver to do the
    formatting. And we use the driver even for preview.



    Best regards,

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