PDA

Click to See Complete Forum and Search --> : Urgent!!!


Nitro
Jun 13th, 2000, 06:06 AM
Does anyone knows how to display a user control on the web. Please recommend the application to do this. Is it ASP?

Mark Sreeves
Jun 13th, 2000, 05:39 PM
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


<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>

Nitro
Jun 14th, 2000, 07:07 AM
Thanks Mr. Mark.


I am going to give it a try.