home *** CD-ROM | disk | FTP | other *** search
/ io Programmo 9 / IOPROG_9.ISO / contrib / iis4 / iis4_07.cab / VBIntermediate_VBScript.asp < prev    next >
Encoding:
Text File  |  1997-09-04  |  879 b   |  38 lines

  1. <%@ LANGUAGE = VBScript %>
  2. <% Option Explicit     %>
  3.  
  4. <HTML>
  5.     <HEAD>
  6.         <TITLE>Intermediate VB Component</TITLE>
  7.     </HEAD>
  8.  
  9.     <BODY BGCOLOR="White" topmargin="10" leftmargin="10">
  10.  
  11.  
  12.         <!-- Display Header -->
  13.  
  14.         <font size="4" face="Arial, Helvetica">
  15.         <b>Intermediate VB Component</b></font><br>
  16.       
  17.         <hr size="1" color="#000000">
  18.  
  19.  
  20.         <%
  21.             Dim SimpleVBComponent
  22.  
  23.  
  24.             ' Create the Simple VB Component
  25.  
  26.             Set SimpleVBComponent = Server.CreateObject("IISSDK.VBIntermediate")
  27.  
  28.  
  29.             ' Call the HelloText method.  It will transmit HTML
  30.             ' using the ASP Intrinsics.  Note that the component
  31.             ' must be loaded in the MS Transaction Server
  32.             ' for the component to access the intrinsics
  33.             
  34.             SimpleVBComponent.HelloHTML
  35.         %>
  36.     </BODY>
  37. </HTML>
  38.