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

    2012년 4월 12일 목요일 오후 1: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 2012년 4월 23일 월요일 오전 12:43
    2012년 4월 16일 월요일 오전 2: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 2012년 4월 23일 월요일 오전 12:43
    2012년 4월 16일 월요일 오전 2:40
    중재자
  • The sample code is not available, link is missing file. File not found error is displayed
    2017년 3월 9일 목요일 오후 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

    2017년 3월 10일 금요일 오후 4:44