Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
List of Microsoft Word ActiveX Controls
Message
From
06/11/2002 03:32:07
 
 
To
05/11/2002 19:41:29
Brian Leidel
Myers & Stauffer CPA's
Denver, Colorado, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00719121
Message ID:
00719201
Views:
18
Hi!

Just for technical reference, you can get all information in the VB help for MS Word, if it is installed. To see it, run Macro-Visual Basic Editor, open a source code of any module and press F1. See for object descriptions in the help.

HTH.

>Novice question here, but I'm just looking for documentation for VFP's ActiveX controls in Microsoft Word 2000. Right now I'm just fumbling around with trial and error. I want to know what all of the properties and methods are for Content, ActiveDocument, Documents, etc. and how to use them.
>
>I'm using the FRX2Word tool to create .DOC files in Word from VFP reports, and I want to be able to merge several reports together to create one long Word document. My users don't like VFP's built in report preview, because they want to be able to view and search several reports together without closing or hitting buttons to go back and forth.
>
>The InsertFile method does not work on this, by the way, because of the weird formatting the FRX2Word tool does.
>
>My little program is looking like this right now. I need access to ActiveX controls documentation to do more:
>
>PARAMETERS ReportName
>
>m.ReportToWord=NEWOBJECT("frx2word","msoexp")
>ReportToWord.SaveFolder="C:\Temp\"
>ReportToWord.DOC_FileName=m.ReportName+".DOC"
>ReportToWord.ReportHome="M:\VLTC\Reports\"
>m.Successful=ReportToWord.ReportForm(m.ReportName)
>
>m.OpenWord=CREATEOBJECT("Word.Application")
>OpenWord.Documents.Open(ReportToWord.SaveFolder+ReportToWord.DOC_FileName)
>OpenWord.Visible=.T.
>
>Thanks!
>Brian
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform