none
Display word document content in html fomat RRS feed

  • Question

  • Hello Everyone!!

    I got two link buttons in my gridview, if I click on 1st button it will open a word document which I am fetching it from database and this is working. Now, if I click on the other link button it has to open same word document's content in a browser i.e in html format. Please help me in how to display a word document's content in html format.

    Regards,

    Sandeep.

    Wednesday, February 8, 2012 11:14 AM

Answers

All replies

  • Hello Everyone!!

    I got two link buttons in my gridview, if I click on 1st button it will open a word document which I am fetching it from database and this is working. Now, if I click on the other link button it has to open same word document's content in a browser i.e in html format. Please help me in how to display a word document's content in html format.

    Regards,

    Sandeep.

    • Moved by Cindy Meister MVPModerator Wednesday, February 8, 2012 4:36 PM not using VSTO technology (From:Visual Studio Tools for Office)
    • Merged by Bruce Song Friday, February 10, 2012 9:01 AM duplicated
    Wednesday, February 8, 2012 11:10 AM
  • Hi Sandeep,

    Thank you for posting.

    Please refer to this thread:

    http://social.msdn.microsoft.com/Forums/en-US/exceldev/thread/a10f31ab-c187-4741-885b-c21fb9295f68

    Your goal can be achieved via changing the registry. You can change the registry via C# code.

    Hope this can help you and just feel free to follow up after you have tried.

    Best Regards,


    Bruce Song [MSFT]
    MSDN Community Support | Feedback to us

    • Marked as answer by Bruce Song Thursday, February 23, 2012 9:48 AM
    Friday, February 10, 2012 8:47 AM
  • Thanks for the reply. I will try working with your solution.
    Tuesday, February 14, 2012 4:09 AM