Thread: Word COM

  1. #1
    ResurgentBarbecue UnclePunker's Avatar
    Join Date
    May 2002
    Posts
    128

    Word COM

    Hi I was wondering if anyone could shed any light on the Microsoft Word COM, i have had a look at Microsofts example in the knowledge base but without any experience of using any COM before its hard to figure out what I need to change and when I figure that out what I need to change it to, there seems to be no literature explaining the different functions and classes within the Word Yype Library, can anyone point me to some good Tutorials or give me an explanation, thanks.
    Compiler == Visual C++ 6.0
    "Come Out Fighting."

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,793
    For the Word object library go to Macros->Visual Basic Editor and use the Visual Basic help. It will show the object model of the Office App that you used to open the editor.

    As to programming the model, there's more than 1 method;

    [list=1][*]Raw Interfaces (Raw COM)[*]VC++ naitive COM wrappers (often from using the #import directive)[*]Client side ATL wrappers (VC++)[*]MFC (VC++)[/list=1]

    There are other libraries....anonytmouse posted a COM/Automation library he created not too long ago. Would be worth your while looking into it

    http://cboard.cprogramming.com/showt...threadid=48640

  3. #3
    ResurgentBarbecue UnclePunker's Avatar
    Join Date
    May 2002
    Posts
    128
    Cheers, Sorry I neglected to mention that I am using MFC, I'll look into that post.
    Compiler == Visual C++ 6.0
    "Come Out Fighting."

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Seg Fault in Compare Function
    By tytelizgal in forum C Programming
    Replies: 1
    Last Post: 10-25-2008, 03:06 PM
  2. seg fault at vectornew
    By tytelizgal in forum C Programming
    Replies: 2
    Last Post: 10-25-2008, 01:22 PM
  3. please help with binary tree, urgent.
    By slickestting in forum C Programming
    Replies: 2
    Last Post: 07-22-2007, 07:55 PM
  4. brace-enclosed error
    By jdc18 in forum C++ Programming
    Replies: 53
    Last Post: 05-03-2007, 05:49 PM
  5. Wrong Output
    By egomaster69 in forum C Programming
    Replies: 7
    Last Post: 01-28-2005, 06:44 PM