General information
Category:
COM/DCOM and OLE Automation
Hello everyone,
I'm trying to do a merge of data from VFP 6 into Word. I've found snippets of code to use from browsing around and from the March 2003 issue of Foxpro Advisor (pg 8-9). Here's an example:
oWord = CREATEOBJECT("Word.Application")
oWord.Documents.Open("C:\doc_name")
oWord.ActiveDocument.MailMerge.OpenDataSource( ;
dsName , 0, .F., .f., .t., ;
.f., '','',.f.,"", "", "Entire Spreadsheet")
My question is, how does one find out what methods, parameters, etc. are available for use? There doesn't seem to be a "Word" entry in the VFP Component Gallery (if there is, I don't see it). I mean this code does work, but it doesn't do exactly what I want, so I'd like to be able to tweak it. Moreover, I'd like to be able to figure this stuff out on my own! :)
Also, if anyone has any tips on merging data from Foxpro to Word, I'd appreciate it. The aforementioned article in Foxpro Advisor seems to suggest that there's no good way of doing this. :\
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