# Thursday, 29 April 2004

ASP.NET Server control for MeadCo ScriptX

So that I don't loose this (updated so doesn't look gobble-de-gook):


<%@ Control Language="c#" %> 
<script language="C#" runat="server">
public string guid = "";
public string src = "lic.mlf";
public int revision = 1;
public string codebase="http://www.meadroid.com/scriptx/";
<object id="secmgr" style="DISPLAY: none" codeBase="<%= codebase %>smsx.cab#Version=6,1,431,2" 
classid="clsid:5445be81-b796-11d2-b931-002018654e2e" viewastext>
<param name="GUID" value="<%= guid%>" >
<param name="PATH" value="<%= src%>" >
<param name="REVISION value="<%= revision%>" >
<object id="factory" 
   codeBase="<%= codebase %>smsx.cab#Version=6,1,431,2"
   classid="clsid:1663ed61-23eb-11d2-b92f-008048fdd814" viewastext>

Which can be used thus:

<%@ Register TagPrefix="MeadCo" TagName="ScriptX" Src="scriptx.ascx" %>

and then in the page:

   src="http://www.meadroid.com/scriptx/xlic.mlf" id="ScriptX1"
   Visible="False" />

#    Comments [0] |
Comments are closed.