General information
Category:
ActiveX controls in VFP
Title:
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
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only