Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

is there an equivalent for an OLE container in VB .net?

Status
Not open for further replies.

tornadoproggie

Programmer
Jul 11, 2002
6
0
0
US
ON MS's site it says to use the webbrowser control as an OLE container, I need to open a Word document within a Windows form.
 
Yep - once you add a WebBrowser control to the form, you can do something like this.

AxWebBrowser1.Navigate("file://c:\test.doc")

And it works fine for me. I've not yet figured out how to save any changes to the document, but I'll let you know if I do.



Mark [openup]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top