How To Use the WebBrowser Control to Open an Office Document (243058)
The information in this article applies to:
- Microsoft Office Excel 2003
- Microsoft Excel 2002
- Microsoft Excel 2000
- Microsoft Excel 97 for Windows
- Microsoft Visual Basic Professional Edition for Windows 6.0
- Microsoft Visual Basic Professional Edition for Windows 5.0
- Microsoft Visual Basic Enterprise Edition for Windows 6.0
- Microsoft Visual Basic Enterprise Edition for Windows 5.0
- Microsoft Office PowerPoint 2003
- Microsoft PowerPoint 2002
- Microsoft PowerPoint 2000
- Microsoft PowerPoint 97 for Windows
- Microsoft Office Word 2003
- Microsoft Word 2002
- Microsoft Word 2000
- Microsoft Word 97 for Windows
This article was previously published under Q243058 SUMMARY When working with Office Documents you may want to display
these documents directly in Visual Basic, but do not want to create an embedded
OLE object using the OLE container control. Instead, you would like to link to
an existing document and open it as an in-place ActiveX Document object.
Fortunately, the Microsoft WebBrowser control offers a solution.
This
article demonstrates how to navigate to an existing Office document and display
it inside Visual Basic using the WebBrowser control. REFERENCES
For additional information about the WebBrowser control in Visual Basic, click the following article numbers to view the articles in the Microsoft Knowledge Base:
162719
How To Use the WebBrowser Control from Visual Basic 5.0
188271 How To Print Contents of the Web Browser Control From VB
191692 PRB: Shdocvw.dll Is Not Included in PDW Setup Package
238313 PRB: Accessing the Internet Explorer Document Object Model From Visual Basic
Modification Type: | Major | Last Reviewed: | 3/23/2006 |
---|
Keywords: | kbhowto KB243058 |
---|
|