Open office documents in internet explorer windows 7




















The default behavior for Office documents is to open them in the application, not the browser; somehow this was changed. Please see these KB articles:. How to configure Internet Explorer to open Office documents in the appropriate Office program instead of in Internet Explorer. A new window opens when you try to view a Microsoft Office program document in Windows Internet Explorer 7 or Internet Explorer 8.

Live at Hot Licks - www. Was this reply helpful? You may want to display or to embed a Microsoft Office document directly on a Microsoft Visual C form. If you want to embed an existing document and open it as an in-place ActiveX document object in a Visual C form, a potential solution for you is to use the Microsoft WebBrowser control.

This article demonstrates how to browse to an existing Office document and how to display it inside a Visual C form by using the WebBrowser control. Unlike a traditional embedded object, an ActiveX document is not designed to be a contained object in a larger document. Instead, it is considered in itself a complete document that is merely being viewed such as with Microsoft Internet Explorer or being collected into a single resource with other documents such as a Microsoft Office Binder file.

An ActiveX document that is hosted in the WebBrowser control is always active; therefore, unlike traditional OLE embedded objects, there is no sense of in-place activation.

Although Visual C and Visual C. The WebBrowser control Shdocvw. Form1 is created by default. Then, create a common language runtime proxy SHDocVw. The WebBrowser control appears with the text Explorer in the toolbox.

Note You must change the code in Visual Studio By default, Visual C adds one form to the project when you create a Windows Forms project. The form is named Form1.

The two files that represent the form are named Form1. You write the code in Form1. The Form1. Press F5 to run the project. When you click Browse, the Open dialog box appears and allows you to browse to a Word document, an Excel worksheet, or a PowerPoint presentation. This article provides methods to set Internet Explorer to open Office documents in the appropriate Office program.

This behavior may occur if Internet Explorer is configured to host documents for Office programs that are installed on the computer. By default, Internet Explorer is configured to host documents for Office programs. To configure Internet Explorer to open Office files in the appropriate Office program instead of in Internet Explorer, use one of the following methods.

These methods configure Internet Explorer to open Office files in the appropriate Office program for all users. If you are running Windows NT 4. If you are running Terminal Server on Windows or Windows Server , you may not be able to select Advanced to open the Edit File Type dialog box in step 4 of this procedure.

This issue occurs if the NoFileAssociate policy is enabled. Enabling this policy prevents users including administrators from changing file type associations for all users. To configure Internet Explorer to open Office files in the appropriate Office program by using the Folder Options tool:. This section, method, or task contains steps that tell you how to modify the registry. However, serious problems might occur if you modify the registry incorrectly.

Therefore, make sure that you follow these steps carefully. For added protection, back up the registry before you modify it.



0コメント

  • 1000 / 1000