CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Dec 2003
    Location
    Cantho
    Posts
    4

    Angry Convert to word 2002

    Hi all,
    I'm writing code to convert word 6.0/95 to word 2000 or word XP. Pleas help me to do it.
    thanks

  2. #2
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    869
    If you have Word XP, the easiest way is to open the file and then save it. To do this programatically, use Automation from C++.
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

  3. #3
    Join Date
    Apr 2002
    Location
    Michigan, USA
    Posts
    869
    An example program can be found in this thread:
    http://www.codeguru.com/forum/showth...light=excel%2A

    :wave
    Verere testudinem! (Fear the turtle)

    Once you can accept the universe as matter expanding into nothing that is something, wearing stripes with plaid comes easy. -Albert Einstein

    Robots are trying to steal my luggage.

  4. #4
    Join Date
    Dec 2003
    Location
    Cantho
    Posts
    4
    Hello Tom Frohman,
    I have read you message and have downloaded the program. I will try it.
    Thanks for your help.
    Golden monkey

  5. #5
    Join Date
    Oct 2003
    Location
    Philadelphia, PA
    Posts
    167
    You also might want to consider writing a VBA script directly in Word2002. It will reduce a lot of overhead for you!
    Mike Dershowitz
    [email protected]
    www.lexientcorp.com

  6. #6
    Join Date
    Dec 2003
    Location
    Cantho
    Posts
    4

    Thank you mikedershowitz

    Hi mikedershowitz,
    I know it but I have project with visual c++. I also found it on Batch conversion wizard template.

  7. #7
    Join Date
    Dec 2003
    Location
    Cantho
    Posts
    4

    Hi Tom Frohman

    :blush
    I have test your program. But it's still Word 60/95 It's cannot save to word 2002.
    It's may be wrong at open and saveas variable (covFalse, CovTrue, CovOptional)
    Golden monkey.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured