Antionline Forums - Maximum Security for a Connected World
>
Security Discussions
>
Newbie Security Questions
> visual basic?
PDA
Click to See Complete Forum and Search -->
:
visual basic?
REdRaider2275
February 2nd, 2002, 09:43 PM
does anybody know the commond for Visual basic 6.0 to tell the computer to open or close the cd rom drive (d:/ or e:/ drives)?
Tedob1
February 3rd, 2002, 04:11 AM
Public Sub EjectCD()
Call mciSendString("set CDAudio Door Open Wait", 0&, 0&, 0&)
bopen = True
End Sub
Public Sub CloseCD()
Call mciSendString("set CDAudio Door Closed Wait", 0&, 0&, 0&)
bopen = False
End Sub
liberated from some web site somewhere
antionline.com
Copyright Internet.com Inc. All Rights Reserved.