Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using Word within VFP 8
Message
From
18/04/2003 00:57:19
 
 
To
18/04/2003 00:31:57
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00779082
Message ID:
00779085
Views:
12
Hi, Henry.

>How do I get started in calling word from withint VFP.

Well, you could start with something like this:
oWord = CreateObject("word.application")
That will instantiate Word by means of its COM interface, and then you can manipulate documents programatically (formatting, spell-checking, etc...)

>>>This means that the user MUST have Word on their machine?

sure enough. No Word, no automation. :)

You can find good information on a book published by www.hentzenwerke.com totally dedicated to MS-Office Automation in VFP.

Another useful source could be the public-domain class FRX2Word (that you can find on the Downloads section of the UT) that makes use of Word Automation... you can learn a lot about how that works.

HTH
Claudio Lassala
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform