Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Ever Come across this one?
Message
 
 
To
17/06/2004 18:00:21
Jim Rieck
Quicken Loans/Rock Financial/Title Sourc
Livonia, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00914831
Message ID:
00915030
Views:
11
Hi Jim,

I'm not sure if it would help, but you can try
loView = oWord.ActiveWindow.ActivePane.View
loView.SeekView = 9
>
> Major problems with a software package we just issued to a client. We automate Word to create a report. The logic for the automation puts certain information in the header, body and footer of the document. The error message we are getting is the following Error 1429: OLE Dispatch..."SeekView is not a by reference property... The error occurs on the following lines
>
>
>   oWord.ActiveWindow.ActivePane.View.SeekView= 9 && wdSeekCurrentPageHeader
>
>
>
>   oWord.ActiveWindow.ActivePane.View.SeekView = 0  && wdSeekMainDocument
>
>
>
> oWord.ActiveWindow.ActivePane.View.SeekView = 10  && wdSeekCurrentPageFooter
>
>
>Are there any issues with these commands?
>
>What am I doing wrong?
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform