Click here to Skip to main content
15,860,844 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi i am creating one asp.net application with VBScript. In that i am trying to open the CD-Rom

using the following code

VB
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



but it is giving the following error in internet explorer....

Could not complete the operation due to error 80020102.

How can i solve this.....
Posted

1 solution

It may be because of improper tag formation or junk text in script code. Make sure the script reference is correct and formed correctly.

See if this helps:
Could not complete the operation due to error 80020101[^]
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900