none
how to export data a winform to ms word by vb.net? RRS feed

  • Question

  • Hi all,

    I have a win form. in this form have a textbox, label, Teechart, picturebox ...

    I want to export data this form to ms word

    how to do? (the below pic is sample of my form.)

    thanks alot...



    Best Regard Fatemeh AmirAfshar

    Tuesday, September 17, 2013 4:32 AM

Answers

  • Your question is so general that it's difficult to know where to begin...

    May we assume you're trageting the *.docx file format, as that can be read by Word 2000 and all later versions?

    If yes, then the recommended way would be to leverage the Office open XML file format and create/edit the document outside the Word application. You can find more information on this at OpenXMLDeveloper.org


    Cindy Meister, VSTO/Word MVP, my blog

    Monday, September 30, 2013 6:40 PM
    Moderator