INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: How Do I Read The CD Info?  (Read 1266 times)

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
How Do I Read The CD Info?
« on: February 16, 2003, 11:51:27 am »

The following will get info from playing now and put it in a list box how would I get info from A Inserted CD?

=======================================

Private Sub btnListPlayingNow_Click()
  Dim MyTempString As String
  ' empty the status list
  List1(0).Clear
  ' get the current playlist object
  Dim MJCurPlaylist As MediaJukebox.MJCurPlaylistAutomation
  Set MJCurPlaylist = g_MJ.GetCurPlaylist
  ' get the file
  Dim MJFile As MediaJukebox.MJFileAutomation
  ' go through each file
  For MyPosition = 0 To MJCurPlaylist.GetNumberFiles - 1
     Set MJFile = MJCurPlaylist.GetFile(MyPosition)
     ' add the file to the list
        List1(0).AddItem MJFile.FileName
  Next MyPosition
End Sub
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA

KingSparta

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 20063
Re: How Do I Read The CD Info?
« Reply #1 on: February 17, 2003, 09:05:32 am »

I take it the no answer means it can't be done?

If true could it be Added?
Logged
Retired Military, Airborne, Air Assault, And Flight Wings.
Model Trains, Internet, Ham Radio, Music
https://MyAAGrapevines.com
https://centercitybbs.com
Fayetteville, NC, USA
Pages: [1]   Go Up