Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Word
Message
 
À
28/11/2005 12:45:53
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Versions des environnements
Visual FoxPro:
VFP 6
OS:
Windows XP
Divers
Thread ID:
01072520
Message ID:
01072556
Vues:
19
>I am trying to work with a Word 2000 document that has 17 blank pages. I have downloaded a help file of Word Examples using VB, but I am not able to get them to work in VFP6. Essentially, I want to add a picture on each page and save the document with a new name. Any help with VFP examples would be great.


When doing ole automation, I find it very useful to record a macro in the application I am trying to control. Then I pull it into VFP and modify the macro and run it in VFP. I have seen instances where the macro code wouldn't work as expected so I came up with a workaround. I copy the macro into my code, then add the macro to the application on-the-fly, then run the macro in the application.

Life is good!
John Harvey
Shelbynet.com

"I'm addicted to placebos. I could quit, but it wouldn't matter." Stephen Wright
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform