Access OWC embedded in WebBrowser

S

Slawomir Zurek

Hello,
I am using in my appliaction (.net 2.0; windows forms) WebBrowser control.
I initialize WebBrowser (via DocumentText property) with following HTML:

<html><body>
<object id=PivotTable1 name=PivotTable1
classid=CLSID:0002E552-0000-0000-C000-000000000046>
</object>
</body></html>

Is it possible to access PivotTable1 object from application code, so I
could fully control this PivotTable object form .net code (using properties.
methods an events) ?

Thanks in advance.
Slawek
 
A

Alvin Bruney [MVP]

Yes, however you will need to access from the code-behind by streaming
script out to the client since the object is an activex object and lives on
the client.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top