Go Back   Computer Forums > General Computing > Programming
Click Here to Login
Join Computer forums Today

Thread Tools Search this Thread Display Modes
Old 02-11-2005, 06:05 PM   #1
Beta Member
Join Date: Feb 2005
Posts: 1
Send a message via AIM to noobie
Default cd drive slots

i would like to find out how to make a link (or if anyone has one) to open the disc drive slots of the comp. An example is this http://www.funnyjunk.com/find/search?search=cupholder

i would like the same thing as this but just the code so the hole website doesnt come up.



noobie is offline   Reply With Quote
Old 02-13-2005, 08:02 AM   #2
Lord Kalthorn's Avatar
Join Date: Dec 2003
Location: Britain
Posts: 13,293
Send a message via MSN to Lord Kalthorn

Haha - it doesn't work because it says Permission Denied

A Knight is sworn to Honour. His heart knows only Virtue. His blade defends the helpless. His might upholds the Weak. His word speaks only truth. His wrath undoes the Wicked.
Lord Kalthorn is offline   Reply With Quote
Old 02-13-2005, 03:41 PM   #3
In Runtime
The Prophet's Avatar
Join Date: Feb 2005
Posts: 368
Send a message via AIM to The Prophet Send a message via MSN to The Prophet

Didn't open my disk drive.
AMD Athlon 64 3000+ 1.8
40GB Hard Drive
Windows XP Home Service Pack 2
512 MB DDR
GeForce4 440 Go 64M
The Prophet is offline   Reply With Quote
Old 02-14-2005, 10:25 AM   #4
Site Team
root's Avatar
Join Date: Mar 2004
Posts: 8,055
Default Re: cd drive slots

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

<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
Next ' cdrom
End If
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...




root is offline   Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

All times are GMT -5. The time now is 06:40 PM.

Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0