ActiveReports Developer 7
Load a File into a RichTextBox Control
Show AllShow All
Hide AllHide All

In a section layout, you can load an RTF or an HTML file into the RichTextBox control both at design time and at run time . Following is a step-by-step process that helps you load these files into the RichTextBox control.

These steps assume that you have already added a Section Report (code based) template in a Visual Studio project and have placed a RichTextBox control inside its detail section. See Adding an ActiveReport to a Project for more information.

Caution: Do not attempt to load a file into a RichTextBox in a section that repeats. After the first iteration of the section, the RTF or HTML file is already in use by that first iteration and returns "file in use" errors when that section is processed again.

To write an RTF file to load into a RichTextBox control

To load an RTF file into the RichTextBox control at design time

To load an RTF file into the RichTextBox control at run time

To write an HTML file to load into a RichTextBox control

To load an HTML file into the RichTextBox control at design time

To load an HTML file into a RichTextBox control at run time

See Also

Concepts

 

 


Copyright © 2015 GrapeCity, inc. All rights reserved

Support Forum