Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Open existing word document from foxpro.
Message
De
02/11/1999 16:59:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00285578
Message ID:
00285772
Vues:
17
i not able to create my field in word, i not sure how to create my propertie.
what i understand is 1- i go to file - properties
2- i define a variable - jfb with something in value.
3- i go to insert menu - field and insert my new field.

Sorry if my menu description of word is not exact, but i have some trouble to translate, i have a french word.

when i run my foxpro application i have the error -

OLE dispacht exection code 0 from word - collection member not existing.

This is my foxpro code.

oWord = createobj("word.application")
oWord.documents.open('e:\data\ssamta20\test01.doc')
oWord.activedocument.Formfields("jfb").result = "my test01"
oWord.visible = .t.
J-F. Boucher
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform