Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding syntax for OLE automation
Message
De
22/05/2003 17:54:47
 
 
À
22/05/2003 12:41:21
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00791218
Message ID:
00791967
Vues:
27
result is the same. what next ??? pls. advise.

I played around with this briefly in the command window and this code did not blow up. I am not sure that it does what you want it to, but it is a starting point since it does not crash < s >
oword = CREATEOBJECT( 'word.application' )
odoc = oword.Documents.Add()
oheaderfooter = odoc.Sections(1).Headers(1)
oheaderfooter.LinkToPrevious= not oheaderfooter.LinkToPrevious
Your best bet would be to get a reference to your document in VFP version 7.0 or later and manipulate it in the command window to see what kind of results you get.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform