Thread: Is there windows function that merge all word documents into one?

  1. #1
    Registered User
    Join Date
    May 2011
    Posts
    2

    Is there windows function that merge all word documents into one?

    Hello I am just wondering if there a windows function that would merge all .documents in one because I am lazy to do all the parsing etc.

    I am having exams these days so its kinda hard for me to find time to code all the parsing.

    Thanks.

  2. #2
    C++まいる!Cをこわせ!
    Join Date
    Oct 2007
    Location
    Inside my computer
    Posts
    24,654
    Do you honestly expect that to exist?
    If you haven't figured it out yet, the answer is no...
    Quote Originally Posted by Adak View Post
    io.h certainly IS included in some modern compilers. It is no longer part of the standard for C, but it is nevertheless, included in the very latest Pelles C versions.
    Quote Originally Posted by Salem View Post
    You mean it's included as a crutch to help ancient programmers limp along without them having to relearn too much.

    Outside of your DOS world, your header file is meaningless.

  3. #3
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    It would involve a lot of work and a lot of COM.

    What are you trying to do exactly? Might be easier to do with a scripting language or C#

  4. #4
    Registered User
    Join Date
    May 2011
    Posts
    2
    @Fordy
    I am just trying to merge all word documents into one .doc file I could easily reverse the header and figure out how its setuped and then code a parser for it,but currently I have exams to do alot of code so I was just wondering if there is a library that would do the parsing for me.

    for example I could just read it in binary and after that figure out how to parse it,then fwrite or WriteFile on a single document.

    @Elysia

    Yes,some stuff like that does exist there always irc parsing libraries and other type of libraries for parsing.
    I do know how to parse it but it would take alot of work and I am just making this program for my use because I have
    many documents in a directory and I want to parse it into one,but it would take some time to code it,and since I have
    exams now for highschool I don't have enough time .

  5. #5
    Banned
    Join Date
    Aug 2010
    Location
    Ontario Canada
    Posts
    9,547
    It would probably be easier to set up a master document that includes the other documents...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. generating word documents
    By viaxd in forum Windows Programming
    Replies: 1
    Last Post: 03-07-2006, 08:15 AM
  2. creating MS word documents
    By srraajesh in forum Windows Programming
    Replies: 2
    Last Post: 07-21-2005, 01:40 AM
  3. Word Documents
    By xlnk in forum Windows Programming
    Replies: 1
    Last Post: 09-15-2003, 06:18 PM
  4. Printing documents through word
    By Robert602 in forum Windows Programming
    Replies: 3
    Last Post: 04-21-2002, 01:23 PM