Information générale
Catégorie:
Contrôles ActiveX en VFP
Titre:
Need some help with Word automation
I've got a form with a pageframe on it. The first page has a web browser control which gets populated from a memo field containing HTML. From here I'd like to automatically copy the formatted content contained in the browser control and paste it into the next page which has a MS Word document contained in it.
I've tried issuing KEYBOARD commands CTRL+A, CTRL+C & pasting that into the Word control, but I keep getting only the raw HTML, not the formatted content. I've tried using word's PasteSpecial method, but can't seem to get the parameter list right.
Would anyone out there have any examples or be able to point me in the direction of a good office automation resource?
Thanks much.
-Matt
Suivant
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