Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using Word within VFP 8
Message
De
18/04/2003 00:57:19
 
 
À
18/04/2003 00:31:57
Henry Ravichander
RC Management Systems Inc.
Saskatchewan, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00779082
Message ID:
00779085
Vues:
11
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform