I create an activex control using MFC Activex Wizard, and then add a property using ClassWizard. I embody it in a html page. The Code is as followed:
<OBJECT CLASSID="CLSID:290CB882-714C-452A-B2FB-C095B5ADBFA2"
WIDTH="652" HEIGHT="382" ID="TT">
<PARAM NAME="FileName" VALUE="d:\video.wmv">
</OBJECT>
When I open it in IE, It open a dialog to tell me that the activex is unsafe. I throw off the "<Param....>",it's ok, Why I can not use the <PARAM..>?
<OBJECT CLASSID="CLSID:290CB882-714C-452A-B2FB-C095B5ADBFA2"
WIDTH="652" HEIGHT="382" ID="TT">
<PARAM NAME="FileName" VALUE="d:\video.wmv">
</OBJECT>
When I open it in IE, It open a dialog to tell me that the activex is unsafe. I throw off the "<Param....>",it's ok, Why I can not use the <PARAM..>?