Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word and InternetBrowser OleControl
Message
From
31/10/2012 06:07:08
 
 
To
31/10/2012 05:51:34
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01556142
Message ID:
01556143
Views:
51
Derek,

see if this blog posting by Rick Strahl is helpful, I seem to remember that he describes the same scenario as you do. http://www.west-wind.com/weblog/posts/2005/Jan/13/Embedding-Microsoft-Word-as-a-control-into-Desktop-Forms

>Hi
>
>I'm using the Web Browser OleControlt to embed a Word document on my form. However, when I invoke:
>
>loBrower.Navigate("C:\TestDocument.doc")
>
>Rather than the dcoument appearing in the control on my form, Word is opened externally and appears in its own window, and from within my OleControl I simply see "Navigation to the webpage was cancelled". The OleControl itself works, I've tested it with a standard URL and that's fine.
>
>Any ideas?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform