首页新闻找找看学习计划

[急]关于Web插入ActiveX控件

0
悬赏园豆:50 [已关闭问题] 关闭于 2007-12-28 11:49
本人用C#2.0做了个ActiveX组件,嵌入到IE后不知为何每次关闭IE,都会跳出下面对话框,而且跟ActiveX组件中的控件数量成正比。 <P><IMG height=125 src="http://www.cnblogs.com/images/cnblogs_com/treeyh/AlertError.gif" width=544 mce_src="http://www.cnblogs.com/images/cnblogs_com/treeyh/AlertError.gif"></P> <P>而后上网查资料说是ActiveX组件没有释放资源,要加入如下代码</P> <DIV style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><IMG id=Codehighlighter1_0_134_Open_Image onclick="this.style.display='none'; document.getElementById('Codehighlighter1_0_134_Open_Text').style.display='none'; document.getElementById('Codehighlighter1_0_134_Closed_Image').style.display='inline'; document.getElementById('Codehighlighter1_0_134_Closed_Text').style.display='inline';" alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockStart.gif" align=top><IMG id=Codehighlighter1_0_134_Closed_Image style="DISPLAY: none" onclick="this.style.display='none'; document.getElementById('Codehighlighter1_0_134_Closed_Text').style.display='none'; document.getElementById('Codehighlighter1_0_134_Open_Image').style.display='inline'; document.getElementById('Codehighlighter1_0_134_Open_Text').style.display='inline';" alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ContractedBlock.gif" align=top><SPAN id=Codehighlighter1_0_134_Closed_Text style="BORDER-RIGHT: #808080 1px solid; BORDER-TOP: #808080 1px solid; DISPLAY: none; BORDER-LEFT: #808080 1px solid; BORDER-BOTTOM: #808080 1px solid; BACKGROUND-COLOR: #ffffff">/**/</SPAN><SPAN id=Codehighlighter1_0_134_Open_Text><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000">&nbsp;</SPAN><SPAN style="COLOR: #808080">&lt;summary&gt;</SPAN><SPAN style="COLOR: #008000"><BR><IMG alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000">&nbsp;清理所有正在使用的资源。<BR><IMG alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/InBlock.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000">&nbsp;</SPAN><SPAN style="COLOR: #808080">&lt;/summary&gt;</SPAN><SPAN style="COLOR: #008000"><BR><IMG alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/ExpandedBlockEnd.gif" align=top>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #808080">///</SPAN><SPAN style="COLOR: #008000">&nbsp;</SPAN><SPAN style="COLOR: #808080">&lt;param&nbsp;name="disposing"&gt;</SPAN><SPAN style="COLOR: #008000">如果应释放托管资源,为&nbsp;true;否则为&nbsp;false。</SPAN><SPAN style="COLOR: #808080">&lt;/param&gt;</SPAN></SPAN><BR><IMG alt="" src="http://www.cnblogs.com/Images/OutliningIndicators/None.gif" align=top><SPAN style="COLOR: #000000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN><SPAN style="COLOR: #0000ff">protected</SPAN><S
问题补充: 但是这是VS自动生成的。 因此想问问大家有没有什么好的办法 好像提问页面排版有问题啊
马可香蕉的主页 马可香蕉 | 初学一级 | 园豆:120
提问于:2007-12-28 10:57
< >
分享
清除回答草稿
   您需要登录以后才能回答,未注册用户请先注册