Categories: computerhow totips

How to Eject CD Room when CD Room Button Does not work

How to Eject CD Room when CD Room Button Does not work

Some time CD Room Button does not work or get damage them we have to repair or exchange it. which cost some amount of money but what if this problem can be solved by some small VBS Program code. Yes! it can be solved by some small vbs program code in Windows operating system.

Just copy the following code

–>

Set oWMP = CreateObject(“WMPlayer.OCX.7” )
Set Cdroom = oWMP.cdromCollection
if Cdroom.Count >= 1 then

For i = 0 to Cdroom.Count – 1
Cdroom.Item(i).Eject
Next

For i = 0 to Cdroom.Count – 1
wscript.sleep 2000
Cdroom.Item(i).Eject
Next

End If

<–

Steps:

  • Paste it to Notepad
  • Save as a CDRoom.vbs
  • Run the CDRoom.vbs
  • See the Magic
Sanjay

Hi, i am sanjay this is my first web site.

Recent Posts

Bike Rental Services in Butwal | Nepal

List of Bike Rental Service in Butwal Butwal Bike Rental Pvt. Ltd. Company Name :…

2 years ago

Invitation Letter in Nepali

Invitation Letter in Nepali कार्यक्रममा उपस्थित हुनकाे लागि लेखिने पत्रकाे नमुना । मितिः २०७९/०१/०१ चलानी…

2 years ago

Cheque Bounce Letter Format in Nepali

Cheque Bounce Letter Format in Nepali unicode मानौ XYZ Pvt. Ltd. मेरो कम्पनिहो र Cheque…

2 years ago

Address Verification Letter Format

     Date: 23rd Jan, 2021 Ref. No.: Dispatch No.:             Subject: Address Verification Certificate…

3 years ago

Salary Certificate Format

Simple Salary Certificate format. Copy text and use it in ms word or word pad…

4 years ago

How to solve ads.txt doesn’t contain in Adsense

Now google Adsense is sending notification to all publishers saying that "Earning at risk-one or…

5 years ago

This website uses cookies.