In the project I use .rtf files.

I appeal to them like this: contentTxt.LoadFile ("../ Static.rtf", RichTextBoxStreamType.RichText); - download rtf content in richtextbox.

When building a project and running an ex-shnik on another computer, it gives an error: Binding to a property or column ... for the DataSource is not possible.

    2 answers 2

    Try this: contentTxt.LoadFile ("Files / MyFile"). But you will need to drag the Files folder with the necessary files next to the .exe’s file. If you need a single file, you can collect the SFX archive.

      There was some information in richtextbox in Data Bindings-Advanced, after deleting which the error disappeared.

      I didn’t understand why data binding is needed (in this case). From the theory I understand that the binding is necessary for automatic data update.