I appologize for my last comment which was incorrect. The version 9 control that I used (probably shipped with Office 2000) is, in
fact, an ActiveX control and may be added to web forms. I attempted to do so and it worked fine for me.
Again, I'm sorry about that incorrect post.
If it's for a web app, then I'm just curious why your not just using System.Web.UI.WebControls.Calendar?
As for your question about the component being disabled, I'm not sure why that would be. You can, however, add the component
manually to a web form without the aid of the toolbox.
Just add an object tag such as the following. You may have to adjust the classid and some or all of the PARAM tags to match your
version of the control.
This is what the component serialized into my HTML file when I dragged it from the toolbox:
<OBJECT style="Z-INDEX: 101; LEFT: 224px; POSITION: absolute; TOP: 184px"
classid=clsid:8E27C92B-1264-101C-8A2F-040224009C02 VIEWASTEXT>
<PARAM NAME="_Version" VALUE="524288">
<PARAM NAME="_ExtentX" VALUE="7620">
<PARAM NAME="_ExtentY" VALUE="5080">
<PARAM NAME="_StockProps" VALUE="1">
<PARAM NAME="BackColor" VALUE="-2147483633">
<PARAM NAME="Year" VALUE="2005">
<PARAM NAME="Month" VALUE="7">
<PARAM NAME="Day" VALUE="11">
<PARAM NAME="DayLength" VALUE="1">
<PARAM NAME="MonthLength" VALUE="2">
<PARAM NAME="DayFontColor" VALUE="0">
<PARAM NAME="FirstDay" VALUE="1">
<PARAM NAME="GridCellEffect" VALUE="1">
<PARAM NAME="GridFontColor" VALUE="10485760">
<PARAM NAME="GridLinesColor" VALUE="-2147483632">
<PARAM NAME="ShowDateSelectors" VALUE="-1">
<PARAM NAME="ShowDays" VALUE="-1">
<PARAM NAME="ShowHorizontalGrid" VALUE="-1">
<PARAM NAME="ShowTitle" VALUE="-1">
<PARAM NAME="ShowVerticalGrid" VALUE="-1">
<PARAM NAME="TitleFontColor" VALUE="10485760">
<PARAM NAME="ValueIsNull" VALUE="0">
</OBJECT>
GL