Show Office Documents in WebBrowser

B

bdtmike

I wrote a form that lets users scroll a list of Excel and Word
documents and display the contents in a webbrowser control, sorta like
a preview feature. To do this I used the webbrowser's Navigate method
and navigated to a URL which was simply "FILE://<my pathname>"

This worked great until I installed Access 2007. Now, when I try to
display the document in the browser control, it comes up as a
standalone window. So, when I try to display an excel file in the
control, a copy of Excel opens up with the document loaded--nothing is
displayed on the webbrowser control. Same with Word.

Any clues how to prevent this?
I checked out an article on MSKB and it appears that this should be
possible, even with office 2007.
here's the article: http://support.microsoft.com/kb/243058

Thanks in advance
 

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