WPCubed Product Support

Proper way of loading files

Apologies for this rather basic question, but I cannot find the correct way to load RTF or HTML files, nor those that require use of converters.

Currently, I use LoadFromFile procedure for RTF, but when loaded, document is shown with squares (whole document or just some parts). If I load that same document in WPdemo, or even in default editor in design time, everything is shown correctly, so it not about the document itself.

I have also tried to use format options (RTF-codepage:xxxx) AUTO, etc. to no avail. RTF code itself contains information about the codepage.

LoadWithConverters works, I can select and load .doc or .docx files, however they are also shown incorrectly, with squares.

What settings control the way documents are loaded into the control?

#1 ♥ 0
3.7k Views 2 users read 1 min
support

Hi,

is the RTF really RTF - did you open it in notepad? Maybe it is DOC format.

Julian

#2 ♥ 0
This category is archived. No new posts are possible.