Thread: How to cal word document with outcome from textbox and greate a report

  1. #1
    Registered User
    Join Date
    May 2016

    How to cal word document with outcome from textbox and greate a report

    Hello, I am a newby in programming C# in Visual Studio 2010 and like to do the following:

    Tools I use:
    1- Textbox with outcome of numerology calculation,
    is a number for exemple 7

    2 - A word document with a fixed lay-out that must be stored in this program, but I don't know how. I don't like to use an external database. In that place are 9 word documents, number 1 to 9.

    3 - a Button to generate the report.
    When clicked the method had to take the number 7 document and put that in a new word document (The final report with different calculations/documents fit together to one report with the same lay-out as the word ducument that is used.

    Any sugestions?

    Inspired greetings, Wilco

  2. #2
    Gawking at stupidity
    Join Date
    Jul 2004
    Oregon, USA
    You'll probably want to research microsoft word interop.

    Also, if you're new to c#, you might want to consider upgrading to Visual Studio 2015. The Community version is free if that's a concern.
    If you understand what you're doing, you're not learning anything.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Generating a Microsoft word document using C
    By luceydavid in forum C Programming
    Replies: 7
    Last Post: 12-08-2011, 03:25 PM
  2. MS Word 2007 document reading problem in C
    By mgnidhi_3july in forum C Programming
    Replies: 3
    Last Post: 05-02-2011, 06:31 AM
  3. Opening link from Word document
    By BobDole in forum A Brief History of
    Replies: 0
    Last Post: 02-20-2008, 09:11 AM
  4. Compiling a script that can write information to a word document
    By superflygizmo in forum Game Programming
    Replies: 6
    Last Post: 02-14-2006, 05:27 PM
  5. Saving a document using Word COM
    By UnclePunker in forum Windows Programming
    Replies: 16
    Last Post: 04-19-2005, 11:11 AM

Tags for this Thread