none
Brian Jones & Zeyad Rajabi: Office Solution - Pushing Data from a Database into a Word Document

    שאלה

  • I'm trying to get this example V2CreateDocFromDB.zip from 

    blogs.msdn.com/b/brian_jones/archive/2009/01/19/pushing-data-from-database-into-a-word-document.aspx

    But there is a Compile Error on a Missing TableStyle.

    david.l.williams3@usps.gov

    Thanks

    David

    יום חמישי 12 אפריל 2012 13:02

תשובות

  • Hi,

    Could you please post the detailed information of the compile error? As DocumentFormat.OpenXml.dll wasn't included in the solution, I suspect that it is missing on your machine. Please make sure you have Open XML Format SDK  installed on your machine. Thanks.


    Leo Tang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • סומן כתשובה על-ידי LeoTangModerator יום שני 23 אפריל 2012 00:43
    יום שני 16 אפריל 2012 02:40
    מנחה דיון

כל התגובות

  • Hi,

    Could you please post the detailed information of the compile error? As DocumentFormat.OpenXml.dll wasn't included in the solution, I suspect that it is missing on your machine. Please make sure you have Open XML Format SDK  installed on your machine. Thanks.


    Leo Tang [MSFT]
    MSDN Community Support | Feedback to us
    Get or Request Code Sample from Microsoft
    Please remember to mark the replies as answers if they help and unmark them if they provide no help.

    • סומן כתשובה על-ידי LeoTangModerator יום שני 23 אפריל 2012 00:43
    יום שני 16 אפריל 2012 02:40
    מנחה דיון
  • The sample code is not available, link is missing file. File not found error is displayed
    יום חמישי 09 מרץ 2017 12:09
  • There is code available for this article:

    https://msdn.microsoft.com/en-us/magazine/hh882449.aspx

    The code is available at:

    http://download.microsoft.com/download/0/E/B/0EB4A12C-E190-4D3B-A5CD-F7F813EC38BA/Code_SpiewakWF0412.zip

    I have updated code which performs better, especially with Excel.

    You can contact me at rspiewak@mitre.org if you would like this update.

    Full disclosure: the code is in VB, and uses codes samples from MS for OpenXML.

    Rick Spiewak

    יום שישי 10 מרץ 2017 16:44