Click here to Skip to main content
15,073,503 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
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.
Posted
Updated 8-Jun-11 2:09am
v2

Hope this[^] might help you.
   
Comments
Jayxin 8-Jun-11 8:18am
   
This won't work because it is for .rtf files. I need to load .vce file format.
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.
   
firstly, you need to translate vce to txt, and then to pattern the question and answer from txt.
   
Comments
CHill60 16-Nov-13 10:33am
   
Did you realise that this question is over 2 years old, and your solution is essentially what Dave Kreskowiak advised?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900