|
-
Aug 21st, 2013, 06:51 AM
#1
Thread Starter
Lively Member
Replace Webbrowser for opening Office documents
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 ?
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|