Converting from rich text format to plain text problems

后端 未结 2 649
轻奢々
轻奢々 2020-12-21 03:33

We currently have an application (Windows service) that connects to another of our applications and grabs invoices. In the invoices there is a RTF field for the footer/heade

2条回答
  •  礼貌的吻别
    2020-12-21 04:29

    I would say this is probably thrown on terminal type machines that don't have the UI libraries installed? Or possibly don't have them loaded (ie - if no user is logged in)

    It's generally not a great idea to use UI libraries in a service, because there is no guarantee that those libraries are accessible if no user is logged in.

    I would find a different way to remove the RTF formatting

提交回复
热议问题