I am trying to use iframes in an HTA application running on a Windows 10 machine. Both the parent and the embedded page are HTA applications. However, the iframe page/application always opens in a new window. These are the test pages I am using - I have kept them as simple as possible, but nothing seems to work.
<HTML>
<HEAD>
<HTA:APPLICATION ID="oHTA" APPLICATIONNAME="Optic" WINDOWSTATE="maximize" />
</HEAD>
<BODY>
<IFRAME APPLICATION="yes" src="test2.hta" style="width:100%;height:100%;"></IFRAME>
</BODY>
</HTML>
and test2.hta source:
<HTML>
<HEAD>
<HTA:APPLICATION ID="oHTA" APPLICATIONNAME="Optic" />
</HEAD>
<BODY>
TEST2.hta
</BODY>
</HTML>