Quantcast
Channel: Internet Explorer Web Development forum
Viewing all articles
Browse latest Browse all 3527

Internet Explorer 8, will not display ActiveX controls in url loaded from an iexplore.exe url argument.

$
0
0
I'm developing an ActiveX control in ATL using Visual Studio 2012, on Windows 7.

By default an ATL project creates a webpage containing the ActiveX control embedded in it so that you can see what it looks like as you develop it. However the only way you can actually load the webpage appears to be to open Internet Explorer (version 8), and manually drag the webpage containing the embedded control onto it using explorer. If you do this then the webpage loads and the ActiveX control is correctly displayed.

If I attempt to open the webpage via the command console using:

"c:\Program Files\Internet Explorer\iexplore.exe" D:\Development\AxCtrlLib3\axctrl2.htm

Then the webpage loads ok (onload scripts run, all visuals are rendered), but the ActiveX control does not load at all and just displays a little blank square.

Why is that please, and what can I do to fix it?

In my Internet Options Advanced tab I have:

Allow active content to run in files on My Computer (checked)
Allow software to run or install even if the signature is invalid (checked)
Check for publishers certificate revocation (unchecked)
Check for server certificate revocation (unchecked)
Check for signatures on downloaded programs (unchecked)

Under the Security tab I have disabled all security for all ActiveX controls for all zones.

Viewing all articles
Browse latest Browse all 3527

Trending Articles



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