Click here to Skip to main content
15,881,849 members
Articles / Web Development / IIS

A .NET 2.0 Server Control for ActiveX Activation Fix

Rate me:
Please Sign up or sign in to vote.
3.78/5 (7 votes)
23 Aug 2006CPOL3 min read 46.4K   468   22  
A .NET 2.0 server control to fix the ActiveX activation issue caused by Internet Explorer updates.
<%@ Register Assembly="JavascriptWriters" Namespace="JavascriptWriters" TagPrefix="WH" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title>Sample Page</title>
    <script src="./js/support.js" type="text/javascript"></script>

	
</head>
<body>

<WH:JsWriter runat="server">

<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="500" HEIGHT="100" id="sample" ALIGN="">
 	<PARAM NAME=movie VALUE="sample.swf"> 
	<PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> 
	<EMBED src="sample.swf" quality=high bgcolor=#FFFFFF  WIDTH="500" HEIGHT="100" NAME="sample" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
</OBJECT>

</WH:JsWriter>
<p>This page does not use a form runat server. </p>


</body>
</html>

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Chief Technology Officer
United States United States
Seth Berger is a Technology Director at WHITTMANHART Interactive. At WHITTMANHART he develops and manages large .NET projects for some of the world's most successful companies. He is skilled in a large number of languages and development environments but his primary focus is on ASP.NET development, and has worked on it since it was in beta. He previously co-founded Estco Medical, a web development and software company focused on the life-science industry.

Comments and Discussions