How to put an ActiveX control in an HTML page?

Hi all.

Searching through internet i have found that this code would work:

<html>

<body>

<OBJECT id="Breadmaking" height="300" width="300"

classid="bin/BreadmakingControl.dll#BreadmakingControl.Breadmaking"

VIEWASTEXT>

</OBJECT>

</body>

</html>

But this does not work with my component. It displays a little box with a red square, a blue triangle and a blue circle.

My control is a Windows control library created with Visual Studio 2005

and C#. I have installed IIS, and put in the directory

"C:\Inetpub\wwwroot" this html file and in the subfolder bin the

control BreadmakingControl.dll, which has the namespace

BreadmakingControl and the principal class is Breadmaking.

What's wrong?

[873 byte] By [victu] at [2007-12-22]