Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE with MS Word
Message
De
03/02/1999 12:01:30
 
 
À
03/02/1999 11:55:53
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00183498
Message ID:
00183500
Vues:
21
Hi Judy ---

Which version of Word? If Word97 or better, it's VBA and you'll find help on it in Word Help...if it's before, it's Word Basic and there also should be help in Word....there are several white papers at microsoft.com that should help you with Word Basic.



>Please, I'm looking for the syntax in VFP6.0 to open Word and a file in Word. I've tried:
> oleObj = CREATEOBJECT("WORD.APPLICATION") this give an error
>
> oleObj = CREATEOBJECT("WORD.BASIC") this does not give an error
>
>
> oleobj.documents.open filename:="c:\test.doc" (an existing doc)
> this gives an error
>
>I've hunted through the documentation and can't find a sample. Please point me in the right direction. Thanks
>
>judy scofield
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform