Results 1 to 2 of 2

Thread: visual basic?

  1. #1

    Question visual basic?

    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)?

  2. #2
    Senior Member
    Join Date
    Nov 2001
    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
    Bukhari:V3B48N826 “The Prophet said, ‘Isn’t the witness of a woman equal to half of that of a man?’ The women said, ‘Yes.’ He said, ‘This is because of the deficiency of a woman’s mind.’”

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts