Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Running Word 6, 7, or 8???
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00173965
Message ID:
00177504
Vues:
35
oWordBasic.fileNew('Template.dot')

I.e. you must call using parentheses and arguments rather than the 'named arguments' syntax you are trying to use.



===================================
This will not work:

oWordBasic = CREATEOBJECT('Word.Basic')
oWordBasic.Appshow
oWordBasic.FileNew.Template = 'TEMPLATE.DOT'

The following error occurs:
FileNew does not evaluate to an object member.

If you look in WordBasic it should be something like this:

FileNew .Template = 'TEMPLATE.DOT'

How do you call this func from VFP5???

/Magnus
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform