ActiveX 日历控件在 Windows 7 中不起作用
我们有一个使用以下日历对象的经典 ASP 应用程序:
<HTML>
<BODY bgcolor="lightgrey">
<OBJECT id=Calendar1 style="LEFT: 0px; TOP: 0px"
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="2002">
<PARAM NAME="Month" VALUE="10">
<PARAM NAME="Day" VALUE="29">
<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>
</BODY>
</HTML>
这在使用 IE7/8 的 Windows XP 计算机上运行良好。但是,这不适用于使用 IE8 的 Windows 7 计算机。这是操作系统问题,我的日历对象需要更新还是完全有其他问题?有什么想法吗?
We have a classic ASP application that uses the following calendar object:
<HTML>
<BODY bgcolor="lightgrey">
<OBJECT id=Calendar1 style="LEFT: 0px; TOP: 0px"
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="2002">
<PARAM NAME="Month" VALUE="10">
<PARAM NAME="Day" VALUE="29">
<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>
</BODY>
</HTML>
This works fine on a Windows XP Machine using IE7/8. However, this does NOT work on a Windows 7 machine using IE8. Is this an OS issue and my calendar object needs to be updated or something else entirely? Any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
我们最终使用 jQuery DatePicker 来代替。 (http://jqueryui.com/demos/datepicker/)
感谢大家的宝贵时间!
We ended up using the jQuery DatePicker instead. (http://jqueryui.com/demos/datepicker/)
Thanks for your time everyone!
我们在浏览器机器上安装了 Office 2003,嘿,一切都恢复了生机。
We installed Office 2003 on the browser machine and hey presto everything came back to life.