Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding syntax for OLE automation
Message
From
22/05/2003 17:54:47
 
 
To
22/05/2003 12:41:21
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00791218
Message ID:
00791967
Views:
28
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.
Previous
Reply
Map
View

Click here to load this message in the networking platform