Step 1 :Create a Windows Control Library
Step 2: Compile the code
Step 3 Create ASP.NET Web Application
Step 4 : Copy the Windows Control Library DLL in ASP.NET Application(bin dir in case of VB.NET)
Step 5 : In HTML /ASP.NET Page Add <object> tag
<object id="UserControl1"
classid="http://localhost/WebApplication1/WindowsControlLibrary2.dll#WindowsControlLibrary2.UserControl1" height="300" width="300" viewastext="">
Try running html/aspx page
P.S.: Based on ActiveX state, you would need to enable proper settings in your browser. Like 'Allow signed ActiveX', etc.
Links for help:
How to host ActiveX controls in a Web form[
^]