| David Reynolds in Cincinnati wrote: |
|
I was wondering about how you would embed a Microsoft Word document in a Windows form.
| |
Hi David,
Here are two approaches to opening word document inside a Winfodws form.
1. Using WebBrowser control to open (but without menubar and toolbar).
WebBrowser1.Navigate("C:\myDocment.doc")
2. Using third-part component winwordcontrol to open (with menubar and toolbar).
http://www.codeproject.com/KB/office/WordInDotnet.aspx
This article including demo project and C# source code, explains how you can integrate Microsoft Word (including Menubar and Toolbar) in your .NET applications.

By the way, here are two helpful tools:
1) Instant VB: C# to VB converter
The tool can convert entire C# project to corresponding VB.NET project, also can convert code snippet.
2) Convert C# code to VB.NET code by means of this Code Translator tool.
Also try this approach to open word document inside a Panel control.
http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=2616199&SiteID=1

Regards,
Martin