Results 1 to 3 of 3

Thread: Urgent!!!

  1. #1

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633
    Does anyone knows how to display a user control on the web. Please recommend the application to do this. Is it ASP?
    Chemically Formulated As:
    Dr. Nitro

  2. #2
    Frenzied Member Mark Sreeves's Avatar
    Join Date
    Nov 1999
    Location
    UK
    Posts
    1,845
    If you want to embed an Active X control in a webpage just use the object tag.

    This is an example from a VB course I attended

    Code:
    <html>
    
    <head>
    <title>Testing Cost Model ActiveX Control</title>
    <script Language="VBScript">
    <!--
    Sub CostModel_Click()
        CostModel.InputAppDetails
        CostModel.Calculate
        CostModel.Display
    End Sub
    -->
    </script>
    </head>
    
    <body>
    <H3>Testing the Costmodel Control</H3>
    <p>
    <!--  Add the OBJECT tag here with at least the classid attribute, WIDTH and HEIGHT -->
    <OBJECT ID="CostModel"
    	classid="clsid:7D8EB54D-883C-11D2-B020-0001FAF81E2E"
    	WIDTH="50" HEIGHT="50"
    	CODEBASE="QACostModel.ocx">
    	<PARAm name="AppClasses" VALUE="1"
    	<PARAm name="AppDevelopers" VALUE="1"
    </OBJECT>
    </p>
    </body>
    </html>
    Mark
    -------------------

  3. #3

    Thread Starter
    Fanatic Member
    Join Date
    Jan 2000
    Location
    Nitro
    Posts
    633
    Thanks Mr. Mark.


    I am going to give it a try.
    Chemically Formulated As:
    Dr. Nitro

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width