Question about MS word programming

  • Thread starter Thread starter kumar r
  • Start date Start date
K

kumar r

Hey Guys,
I am trying to develop an application, where people can open and edit
word documents and RichTextFiles. I am using RichTextBox for
editing.., but I am unable to figure out how to open Word Documents. I
figured I need to add some COM library by searching through some
forums.. But I want to this program to function perfectly, no matter
if the user has MS office installed on his computer or not.. The
document should be opened in the textbox, not with the MS WORD
application..

I hope you understand my problem..please help me

thanks
 
kumar r said:
I am trying to develop an application, where people
can open and edit word documents [...]
I am using RichTextBox for editing

A standard RichTextBox won't support many of the features available in Word.
but I am unable to figure out how to open Word
Documents. [...] I want to this program to function
perfectly, no matter if the user has MS office installed
on his computer or not..

Then you can't assume that the computer will have any libraries that might
help with the Word document format.

You can obtain the Word file format specification from Microsoft, but it's
rather complicated. Do you really want to try to implement something like
this?
http://www.redbrick.dcu.ie/~bob/Tech/wword8.html

P.
 
Hey Guys,
I am trying to develop an application, where people can open and edit
word documents and RichTextFiles. I am using RichTextBox for
editing.., but I am unable to figure out how to open Word Documents. I
figured I need to add some COM library by searching through some
forums.. But I want to this program to function perfectly, no matter
if the user has MS office installed on his computer or not.. The
document should be opened in the textbox, not with the MS WORD
application..

I hope you understand my problem..please help me

thanks

Thanks for the reply Paul, I am not really sure if its possible, when
i had the thought of developing the application, i just started and
wanted to see, if any problem would come in the future. Well, as u
said I guess its tough to write an application which can act like
proprietary MS word without really having MS WORD on the computer.
Anyway thanks for the reply..
kumar
 
Back
Top