Unregistered Avatar

Reply

VBscript: How to open a CD-rom


 
LinkBack Thread Tools Display Modes

  #1 (permalink)  

Old 06-08-2004, 01:52 AM

VBscript: How to open a CD-rom

This is just a simple script. The script opens the CR-rom to the person who visit the site. Its a funny script!
Code:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body>
<p> 
  <SCRIPT language=VBScript>
<!--

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>
<p>
Look at you'r CD-rom, you got a cup holder ;D
</p>
</body>
</html>

mitsurug1 is offline The Samurai

mitsurug1's Avatar

Join Date: Jun 2004

Location: \dev\null

Posts: 60

  #2 (permalink)  

Old 06-08-2004, 07:26 AM

only works in windows

missionsix is offline loves you.

missionsix's Avatar

Join Date: Feb 2004

Location: under you.

Posts: 4,784

Send a message via AIM to missionsix Send a message via MSN to missionsix

  #3 (permalink)  

Old 06-08-2004, 04:56 PM

nice job mit~!
__________________
Time for a Change.

Think Big, Expect Big

Jay

Jay is offline that other guy?

Jay's Avatar

Join Date: Feb 2004

Location: Hawaii

Posts: 1,834

Send a message via AIM to Jay

  #4 (permalink)  

Old 06-09-2004, 10:48 AM

Thx Akule.

mitsurug1 is offline The Samurai

mitsurug1's Avatar

Join Date: Jun 2004

Location: \dev\null

Posts: 60

Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open the 8 gates Advent Digital Art Showcase 0 08-05-2005 10:05 PM
K, time to open painter. Jay Digital Art Showcase 5 05-30-2005 11:09 PM
Finally open Renzo The VOID! 2 05-18-2005 07:36 PM
open canvas Sid Digital Art Showcase 11 03-25-2005 08:09 AM


All times are GMT -7. The time now is 09:35 PM.