Results 1 to 2 of 2

Thread: API - MS-Word won't communicate!!!

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Feb 2000
    Location
    Petach-Tekvia
    Posts
    25

    Angry

    Hi

    I'm trying to 'SendMessage' to a MS-Word, and the it simply
    doesn;t work!!! I tried WM_COPY for example and it
    DOES NOT WORK!

    does anyone know if its possible to use API wor communcate
    with MS-Word.. Excel .. ect?

    Thanks

  2. #2
    Fanatic Member
    Join Date
    Feb 2000
    Location
    Dunmow,Essex,England
    Posts
    898

    Talking

    Hi,

    Seems like your having a similar problem to me. THe first thing you need to do is get the document handle to ensure you are trying to send to the correct document. You first need to get a handle on the word app then use enumchildproc to find the correct document. This is the only way to obtain a word documents handle. (certainly in word2000 anyway) hope this helps.

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