Advertisement
2002ASP Internet/ HTML #463

Access CDDB with VB5

This code reads a CD's Identification Number and then access the CDDB for a list of Tracks and information about the CD.

AI

สรุปโดย AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

ซอร์สโค้ด
original-source
'Add 2 command buttons to your form (Call them btnCalc and btnExit
'Add a Combobox called cboDrives and a Textbox called txtID
Option Explicit
Private Sub btnCalc_Click()
  Dim MyCD As New CCD
  MyCD.Init cboDrives.Text
  txtID.Text = MyCD.DiscID
End Sub
Private Sub btnExit_Click()
  Unload Me
End Sub
Private Sub Form_Load()
  cboDrives.AddItem "D:"
  cboDrives.AddItem "E:"
  cboDrives.AddItem "F:"
  cboDrives.AddItem "G:"
  cboDrives.AddItem "H:"
  cboDrives.AddItem "I:"
  cboDrives.ListIndex = 0
End Sub
ความคิดเห็นดั้งเดิม (3)
กู้คืนจาก Wayback Machine