PDA

Click to See Complete Forum and Search --> : API - MS-Word won't communicate!!!


Mansour
Sep 6th, 2000, 05:14 AM
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

Bill Crawley
Sep 6th, 2000, 06:05 AM
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.