Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creatobject
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Divers
Thread ID:
00515106
Message ID:
00515115
Vues:
18
Looks like you've got a trailing space in "word.application ". Take out the space and it will work.

>I am trying to open word and a document from within VFP.
>
>When reading about the subject all examples referred to excel, and the following
>code:
>
>oExcel = CreateObject( "excel.application" )
>
>Of course I tried: oWord = CreateObject( "word.application " )
>and I get the error 'Class definition WORD.APPLICATION is not found'
>
>Further reading led me to try: oWord = CreateObject( "word.document" )
>now I am getting the error 'OLE error code 0x80020003:Member not found'.
>
>Can anyone give me any ideas on how to do this?
Rick Borup, MCSD

recursion (rE-kur'-shun) n.
  see recursion.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform