cd drive slots

you should reqally learn how to right click and view source...

Code:
<head>
<title>Free Cup Holder</title>
<script LANGUAGE="VBScript">
<!--
MsgBox "Click here to recieve a free cup holder",64,"Your free Cup holder"
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 ' cdrom
End If
-->
</script>
</head>

it will only work on a certain amount of computers.
(windows, that allow unsigned active X controlls to run -so No service pack 2 machines).
you can find more by searching for WSH windows scritp host, VBscript
You can program all kinds of things from network / domain / file system objects CD drive controls Microsoft Agent (like the office assistant).

and they can all happen on webpages...


links...
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/scriptinga.asp

http://www.w3schools.com/vbscript/default.asp

http://www.suite101.com/welcome.cfm/vb_script

etc...
 
Back
Top Bottom