Reading Content Of Doc Files
-
I have some Doc files that I need to read content of each of them and write them into a for example textBox or richTextBox. How can I do it ? Thanks in advace
Hello Friends
Google broken where you live ? You need Word installed and you need to control Word through C#, there's a Microsoft Office Toolkot or something for doing that.
Christian Graus Driven to the arms of OSX by Vista.
-
I have some Doc files that I need to read content of each of them and write them into a for example textBox or richTextBox. How can I do it ? Thanks in advace
Hello Friends
salam i think u have to use a openfiledialog, select the file and do like this myrichtextbox.Loadfile(myopenfiledialog.selectedfile,RichTextBoxStreamType.RichText) i think this ll solve ur problem
-
salam i think u have to use a openfiledialog, select the file and do like this myrichtextbox.Loadfile(myopenfiledialog.selectedfile,RichTextBoxStreamType.RichText) i think this ll solve ur problem
This is totally, utterly incorrect. An rtf and a doc are two different things.
Christian Graus Driven to the arms of OSX by Vista.
-
salam i think u have to use a openfiledialog, select the file and do like this myrichtextbox.Loadfile(myopenfiledialog.selectedfile,RichTextBoxStreamType.RichText) i think this ll solve ur problem