Fix RichTextBox file format is not a problem

Source: Internet
Author: User

RichTextBox file format is incorrect:

Reason: Rich text box LoadFile method only supports RTF file or standard ASCII text This document, our general text document is ANSI or UTF-8 format, so, reported this error.

Workaround: Use Notepad to edit the text, and then save the file as a rich Text format. Then double-click Open RTF file to enter the RTF edit page. Then save as RTF file, note that the encoding format must be Rich Text format.

Graphic:

1. (Because the test machine does not have a right-click New RTF file) first create a new RTF file with Notepad.

2. Open with the RTF editor and Save As.

* Note Save format must be RTF format.

Save it.

Fix RichTextBox file format is not a problem

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.