Answered Read/Write Doc/Docx format

  • Monday, August 24, 2009 9:59 AM
     
     
    Hello,
    I need to be able to read/write Microsoft Office Word 2003/2007 formats (doc/docx).
    Please tell me how can I do this in my VB.NET 2008 .NET Framework 2.0 application?
    You know, for reading, I just need the plain text in the document, no images or elements...
    But for writing, I need to save my HTML document in DOC/DOCX format.
    Is that possible?
    Thanks.

All Replies

  • Wednesday, August 26, 2009 8:32 PM
    Moderator
     
     Answered
     

    Hi,

     

    Thanks for posting your question on "Innovate on Office" Forum.


    Your question is very open ended. For working with office applications from your .Net applications, you can either use Office Automation or Open XML. Please note that office automation is not supported for server side processing. So, if you have any requirements for server side automation of office (e.g. Asp.Net applications) then in that case use Open XML. You can search Office Automation or Open XML on web and you will find lot of resources.

     

    Below are some resources that will get you started,

     

    Office Automation,

    http://support.microsoft.com/kb/302902

    http://msdn.microsoft.com/en-us/library/aa188489(office.10).aspx#vsofficedev_overview

     

    Open XML,

    http://msdn.microsoft.com/en-us/library/aa338205.aspx

    http://msdn.microsoft.com/en-us/library/aa982683.aspx

     

     Hope this helps!

     

    Thanks,

    Priyank

  • Monday, August 23, 2010 10:05 AM
     
     

    Hi

    I too need to read .docx, but everything I tried before, does not return any text inside some textbox. It returns the regular text. Is there a way for me to get the text inside word's textbox's? (for vb.net or any other language if not possible for vb)

    Thank you

    Adelino