CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Join Date
    Oct 2003
    Location
    Sweden
    Posts
    381

    API for Office programs?

    Hi.

    I’m a VC++ developer and writing all kind of applications. Now I’m in need to know how I can make programs to interact with Office programs. For e.g. how do I (programmatically) create a new word document, append some lines and saves it?
    I have made wrappers of some Office-dll’s but don’t really know how to use them.
    ...and justice for all

  2. #2
    Join Date
    Jun 2004
    Location
    England
    Posts
    90

    Lightbulb Re: API for Office programs?

    You need to read about MS Office Automation.

    I have worked on this before, its not the funnest job, but once you get one function call running the rest are very similar.

    check this link out for more info:

    http://msdn.microsoft.com/library/de...sofficedev.asp

    Hope this helps.

    Also, search this forum for MS Word Automation as I have asked about this a while ago. The thread will be very helpful to you

    good luck
    The most knowledgeable people are those who know that they know nothing.

  3. #3
    Join Date
    Feb 2002
    Posts
    3,788

    Re: API for Office programs?

    Quote Originally Posted by d00_ape
    Hi.

    I’m a VC++ developer and writing all kind of applications. Now I’m in need to know how I can make programs to interact with Office programs. For e.g. how do I (programmatically) create a new word document, append some lines and saves it?
    I have made wrappers of some Office-dll’s but don’t really know how to use them.

    see Automating Microsoft Office 97 and Microsoft Office 2000 and Automating Office with VC++: Knowledge Base Articles

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