Groups | Blog | Home
all groups > vb.net > february 2006 >

vb.net : How to embed the excel worksheet into my forms?


Herfried K. Wagner [MVP]
2/8/2006 8:07:24 PM
"zhangyl" <zhangyl@mail.nai.edu.cn> schrieb:
[quoted text, click to view]

Unfortunately .NET 2.0 still does not support an OLE container control.

HOWTO: Use the WebBrowser Control to Open an Office Document in Visual Basic
..NET
<URL:http://support.microsoft.com/?scid=kb;EN-US;304643>

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
zhangyl
2/8/2006 8:55:13 PM
I want to embed the excel worksheet into my application and use it like
datagrid, if somebody can tell a solution, whether visual studio 2005 can do
it ?
thanks.

zhangyl
2/9/2006 12:00:00 AM
thank you.
But how can I handle events of the excel application in the webbrowser
control?

"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at>
??????:u$ZrmLOLGHA.3164@TK2MSFTNGP11.phx.gbl...
[quoted text, click to view]

Herfried K. Wagner [MVP]
2/9/2006 1:39:56 PM
"zhangyl" <zhangyl@mail.nai.edu.cn> schrieb:
[quoted text, click to view]

I don't think this is supported by this approach. You could try to use
'GetObject' to get a reference to the Excel instance running inside IE, but
I have never tried that.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
zhangyl
2/10/2006 12:00:00 AM
Thank you. I have tried it successfully.

"Herfried K. Wagner [MVP]" <hirf-spam-me-here@gmx.at>
??????:eGaQvXXLGHA.744@TK2MSFTNGP09.phx.gbl...
[quoted text, click to view]

AddThis Social Bookmark Button