1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Opening word 2000 documents correctly in word 2007 automation problem

Discussion in 'Business Applications' started by KeesieKees, Jun 11, 2010.

Thread Status:
Not open for further replies.
  1. KeesieKees

    KeesieKees Thread Starter

    Joined:
    Jun 11, 2010
    Messages:
    4
    Hi folks,

    I have this problem that is hard to search for on Google. We have a lot of word 2000 documents connected to a simpel text data file (data.doc) that is used with mail merge.

    Here is our process:
    1.) data.doc is opened, filled with all variablenames we can use in our documents (name, country, etc.)
    2.) data.doc is opened, filled with the actual data (from a database) belonging to the variables name (Kees, Japan, etc.)
    3.) Our vb.net 2008 application does step 1 and 2, then starts a template word 2000 document which has that data.doc file attached for mail merge. The template is now filled in with the correct data.
    4.) vb.net 2008 application tells MS Word to print the document.
    5.) Works fine and we have ourselves a nice document filled in with data we specified in the vb.net 2008 application.

    Now comes the problem, some new computers will have office 2007 instead of office 2000 installed, during testing we have encountered that it does not error but the office 2007 installed computer does not fill in the data and just shows mergefield names <<name>> <<country>>. Also when printed out. So it seems like the datafile is not connected when opening the template in word 2007.

    If we let our vb.net 2008 application show us the document visually first, we can re-attach the data file again and we can print the data, however there are 3 thing wrong with this approach:

    1.) More user input which is not needed.
    2.) MS Word is opening and showing, something we do not want in some cases.
    3.) We also automate the printing of packages, which is basicly a list of different templates that needs to be printed automatically without users input.

    Because the old computers will not be updated anytime soon to office 2007 versions we have to work some time with both systems. So we cannot convert the document to word 2007 version because the office2000 computers can't read them anymore.

    How can I let the office 2007 read the documents (with correct automatic mail merge without user input) just as word 2000 does?

    We can implement the possible solution both in the sourcecode of the vb.net 2008 application as we can solve it by configuring ms office, so all possibilities are welcome!

    With kind regards,
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/928530

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice