I making some computer related reports using HTML pages with activex elements in it.
When its done I call the page with:
$ie = New-Object -ComObject InternetExplorer.Application
$ie.Navigate2("c:\path")
$ie.Visible = $trueWhen the page opens it will first of all ask me if I want to allow the blocked elements it contains. "Internet Explorer blocked an activex control on this page"
Enable the computer wide allow option is something I would like to avoid.
Is there a way to put an allowmethod upon opening particular html file?
In case there's no options to do that - how can I set the global allow activex elements via script?
Appreciated on any advices.