使用C#将VCE文件加载到RichTextBox中 [英] Load VCE files into a RichTextBox using C#
本文介绍了使用C#将VCE文件加载到RichTextBox中的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
大家好,
我正在尝试将VCE文件加载到窗口窗体上的富文本框中。
请帮帮我。
先谢谢。
Hi All,
I am trying to load a VCE file into a rich text box on a Window Form.
Please help me.
Thanks in Advance.
推荐答案
希望这个 [ ^ ]可能对您有所帮助。
Hope this[^] might help you.
首先,什么是VCE文件??
其次,RichTextBox无法理解所有文件格式。它知道纯文本和RTF,这就是它。如果VCE文件不符合RTF标准,它就不会起作用。
唯一的办法就是将文件转换为RTB的格式知道关于。这将涉及您编写一个解析器,打开VCE文件,挑选可用的部分,从中组合文档并在RTB中显示。
First, what's a VCE file??
Second, the RichTextBox cannot understand all file formats. It knows plain text and RTF and that's about it. If a VCE files doesn't conform to RTF standards, it's not going to work.
The only way around that is to convert the file to a format the RTB does know about. This would involve you writing a parser that opens the VCE file, picks out the parts that are usable, composing a document from them and showing that in a RTB.
首先,您需要翻译vce到txt,然后从txt模式化问题和答案。
firstly, you need to translate vce to txt, and then to pattern the question and answer from txt.
这篇关于使用C#将VCE文件加载到RichTextBox中的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文