%@ LANGUAGE = VBScript %>
<% Option Explicit %>
Using Components
Using Components with ASP
This script uses the Tools component that
comes with IIS to generate a random number.
<%
Dim objExample
'Instantiate Component on the Server.
Set objExample = Server.CreateObject("MSWC.Tools")
%>
Random Number = <%= objExample.Random() %>