Quantcast
Channel: .NET Framework Class Libraries forum
Viewing all articles
Browse latest Browse all 8156

Opening a docx document in IE

$
0
0

Dear All,

My goal is to open a .docx document in a web browser.

I have downloaded the OpenXML viewer for internet explorer, thus if I drag a .docx document and drop it in Internet Explorer browser, the file content are displayed on the page.

However, if I try to load the file into a webBrowser control (C# or vb.net) using the webbrowser.navigate("filepath"), the file opens on as separate word office document.

I have been looking for solutions without success,
some say we should add a registry entry for the application within  to "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\MAIN\FeatureControl\FEATURE_BROWSER_EMULATION"

Ref: http://stackoverflow.com/questions/15874565/how-to-set-ie9-by-default-for-web-browser

Any Help is much appreciated.


Viewing all articles
Browse latest Browse all 8156

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>