I am working on a VB.NET project that retrieves data from the specified database and saves the result into a file with a unique extension (viz. *.vcs). The thing that troubles me is that I need to save the data with user defined formatting (e.g. font color, font size, etc) so that he finds it in the same format when he accesses the file again in future. Any suggestion as to how can this be done?

有帮助吗?

解决方案

You can use RichTextBox control to save (RichTextBox.SaveFile()) and load (RichTextBox.LoadFile()) content in RTF format.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top