Hello,
I have added a ActiveX control to my HTML as <object>. In the Internet Explorer it is possible to set the security setting "Download ActiveX Controls" to Enable, so that they are shown in the browser.
How can I change this setting in the HTMLUIControl?
Br,
Matt
Hi Davis,
I would like to use the HTMLUIControl instead of the Microsoft WebBrowser control (COM component).
I have added an ActiveX to my HTML (test.html):
<object id="Chart" classid="clsid:3E3116D5-A6AA-11D0-9AB0-EB8E16EF8654" width="900" height="700" <param name="NumDiagrams" value="2" /></object>
I have loaded this document into the HTMLUIControl:The HTMLUIControl does not show this ActiveX control. The Internet Explorer shows it (with appropriate settings for ActiveX controls).
I would like to show it and programaticlly access this ActiveX control to set its properties and call its functions...
I tried to access the control the following way:
IInputHTML doc = this.htmluiControl1.Document;
IHTMLElement htmlElement = doc.GetElementByUserId("Chart");
Control ctrl = doc.GetControlByElement(htmlElement);
It works but the GetControlByElement() returns null. Maybe because the control is not shown (instanziated).
Am I doing something wrong? Is there a way to solve this problem with the HTMLUIControl?
Best regards and thanks for help,
Matt