Hi, Pascal-
There have been a lot of threads here on the subject. So, you might want to search on the subject (if you haven't already).
Also, check out John Harvey, David Frankenbach, and John V. Petersen's web sites for info on ole automation.
Keep in mind that the answer to your question is also dependent on what version of Word. Office 97 (Word8) introduced Word (and us) to VBA for Word. There is a help file that you can choose to installed for VBA on your Office install CD. Another tip-use the macro recorder in Word and the check out the code it created to help you undestand what you need in VFP.
>Hi All,
>
>I am looking for some article or code giving some examples
>of OLE Automation with word.
>
>What I need to do actually is read fields from a word
>document created from a template. I dont feel like re-inventing
>the wheel, so any help or guidance would be appreciated :)
>
>Thanks in advance
>
>Pascal
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement