Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP & Word Automation Commands
Message
 
 
To
14/03/2003 11:06:21
Dick Day
Madison County, Nebraska
Nebraska, United States
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00757384
Message ID:
00765896
Views:
23
Dick,

Open is a method not a property.
oleapp.Documents.Open(docname)
>Sergey, here's what my code looks like...
>
>store "C:\mydir\myfile.txt" to docname
>oleapp.Documents.Open=(docname)
>
>and I get the following error
>
>OLE IDispatch exception code 0 from Microsoft Word: Open is not a 'by reference' property.
>
>So I believe I'm doing it as you suggest.
>
>I'll keep trying, thanks for the help!
>
>Dick
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform