Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Mailing With VFP & Word'97
Message
De
20/05/1998 09:43:45
Paulo Hakme
Otto Bock Do Brasil Ltda.
Campinas, Brésil
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Mailing With VFP & Word'97
Divers
Thread ID:
00100520
Message ID:
00100520
Vues:
106
I’m trying to create a mailing with the VFP 5.0 & Word’97.
I used the following commands:

oWord = createobject(“word.application”)
WITH oword
.documents.add()
.activedocument.mailmerge.maindocumentType = 0 && WdformLetters
.activedocument.mailmerge.opendataSource(“c:\temp\eng069.txt”)

But, in the last line I got the follow error:

Ole 0x80020005: incompatible type

The .TXT file was generated by:
Copy to type delimited

I don’t know if I forgot any commands.


Thanks a Lot,

Paulo Hakme
Ottobock@lexxa.com.br
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform