Quantcast
Channel: VBForums - Visual Basic 6 and Earlier
Viewing all articles
Browse latest Browse all 21254

Replace Webbrowser for opening Office documents

$
0
0
In have a VB6 application which can display office documents (mainly Word and Excel) using a Webbrowser control as explained in:
http://support.microsoft.com/kb/243058

But with Office 2007 and later this doesn't work as well because it opens a new window for the document rather than using the Webbrowser control. You can get around this by modifying the registry, but this isn't always possible.

Can anyone point me to an alternative method to display documents?

I need to be able to open .doc, .docx, .xls, .xlsx and possibly others. I don't need to edit the documents, just view them. I only need one document opened at a time.

I have seen suggestions of using PreviewHandlers hosting or of embedding the application in a form.
What is the best approach, and is there any code available ?

Viewing all articles
Browse latest Browse all 21254

Trending Articles



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