none
Save word document content to database problem RRS feed

  • Question

  •  

    I want to save word documents content to database. I use for this range and save to database. But when want to open new word document and paste to word document again, the tables and formats are lost.

     

    How can i paste again with all of tables and other components.

     

     

    Thanks,

    Friday, May 16, 2008 12:28 PM

Answers

  • this question really is off-topic in the VSTO forum. VSTO is a technology to extend the user interface. The better place to ask this would be in a Word forum. (The Please Read First message at the top of the forum contains useful links to non-VSTO, Office-related venues.) Whenever you ask a question of this nature you need to provide information about the VERSION of Word you're targeting.

     

    Most likely, you're using the Range.Text property, which will return only text. This returns only a string, no formatting information. Without more information (version of Word, scenario / business logic), it's not possible to help you any further than that.

    Friday, May 16, 2008 12:39 PM
    Moderator