%@ LANGUAGE = JScript %>
Using Components
Using Components with ASP
This script uses the Tools component
that comes with IIS to generate a random number.
<%
var objExample
//Instantiate Component on the Server.
objExample = Server.CreateObject("MSWC.Tools");
%>
Random Number = <%= objExample.Random() %>