这段代码是ASP利用了WINDOWS MEID PLAYER 7的组件来实现了弹出光驱的功能!
<%
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
%>
| 对此文章发表了评论 |
这段代码是ASP利用了WINDOWS MEID PLAYER 7的组件来实现了弹出光驱的功能!
<%
Set oWMP = CreateObject("WMPlayer.OCX.7")
Set colCDROMs = oWMP.cdromCollection
if colCDROMs.Count >= 1 then
For i = 0 to colCDROMs.Count - 1
colCDROMs.Item(i).Eject
Next
End If
%>
| 对此文章发表了评论 |
| | 设为首页 | 加入收藏 | 关于我们 | 广告服务 | 联系方式 | 友情链接 | 版权申明 |
|
Copyrights 2005-2006 www.51ec.Org All Rights Reserved. 无忧电子商务网 版权所有 |