Does anyone knows how to display a user control on the web. Please recommend the application to do this. Is it ASP?
Printable View
Does anyone knows how to display a user control on the web. Please recommend the application to do this. Is it ASP?
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>
Thanks Mr. Mark.
I am going to give it a try.