Quantcast
Channel: The Official Scripting Guys Forum! forum
Viewing all articles
Browse latest Browse all 15028

Allow an ActiveX control elements on page

$
0
0

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 = $true

When 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.


Viewing all articles
Browse latest Browse all 15028

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>