Automation Error using Web Browser Control to Display Word Document

R

ryanharnwell

I am writing an addin for Microsoft Word, and I have a requirement to
show a (different( word document in a Web Browser Control on the form.

The code is:

WebBrowser1.Navigate ("c:\test\test.doc")

When I run this I get the error:

Run-time error '-2147417848 (80010108)':

Automation error
The object invoked has disconnected from its clients

I thought it was my pc so I rebuilt it, and same problem, it works fine
from excel though... any ideas?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top