CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 7 of 7
  1. #1
    Join Date
    Apr 1999
    Location
    UK, London
    Posts
    155

    "Talking" to MS Word

    Hi all
    Is it possible to "talk" to MS Word and ask it what documents it currently has open and which doc is currently being viewed?
    also is it possible to bring into another app one of those Documents for "special" viewing
    ????

    Regards and thanks

    Bryce Burrows


  2. #2
    Join Date
    Apr 1999
    Location
    UK, London
    Posts
    155

    "Talking" to MS Word

    Hi all
    Is it possible to "talk" to MS Word and ask it what documents it currently has open and which doc is currently being viewed?
    also is it possible to bring into another app one of those Documents for "special" viewing
    ????

    Regards and thanks

    Bryce Burrows


  3. #3
    Join Date
    Apr 1999
    Posts
    4

    Re: "Talking" to MS Word

    Yes it is possible


  4. #4
    Join Date
    Apr 1999
    Location
    UK, London
    Posts
    155

    Re: "Talking" to MS Word

    Ok ,
    OK, I'll byte
    how is it done/what do i need to do to achieve my goals?
    Regards

    Bryce Burrows


  5. #5
    Join Date
    Apr 1999
    Location
    UK, London
    Posts
    155

    Re: "Talking" to MS Word

    Ok ,
    OK, I'll byte
    how is it done/what do i need to do to achieve my goals?
    Regards

    Bryce Burrows


  6. #6
    Join Date
    May 1999
    Location
    Republic of Korea
    Posts
    100

    Re: "Talking" to MS Word

    Hi! I haven't done what you are asking. But I read about automating
    MS Office software. Try to read "RE: Excel" in this discussion.
    You might get some info.

    I hope that helps you a bit.



  7. #7
    Guest

    Word Automation Server

    Ther is a word type lib that comes with word97 which will allow C++ programs to talk to Ms Word. The Tlb is called wb70en32.tlb.

    You can view word as a continer application that allows other applications to use documents contained in that container. Go to Microsoft site an search for ms word or the .tlb file. You should get a **** load of hits that explain how to useWord server.

    if your application is using Word 95 or lower, there is a library called CAPI.lib that gives C++ programs access to all the macros in word

    Good luck


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