How to Get CDInfo( freeCapacity,,,) in VB sample source

vbimport

#1

I want Get CDInfo(Media Type,Tracks,FreeCapacity).

but i don’t know parameter this function “GetDiscImageInfo”

what is “bstrImageFileName”?:confused:

To get Disk infomation, is need to driveName or driveID?!

But nothing to work…:doh:

And After call " drive.CDInfo (NERO_READ_CD_TEXT) "

how to get CDInfo?

plz help me;;

following source…


Private Sub Burn_Click()
btnAbort.Enabled = True
Browse.Enabled = False
Burn.Enabled = False

Set Folder = New NeroFolder
Dim drives As INeroDrives
Set drives = nero.GetDrives(NERO_MEDIA_CDR)
Set drive = drives(AvailableDevices.ListIndex)
Dim isotrack As NeroISOTrack
Set isotrack = New NeroISOTrack
isotrack.Name = "TestTrack"
isotrack.RootFolder = Folder
Dim file As NeroFile
Set file = New NeroFile
Folder.Files.Add file
file.Name = NameFromPath(edtFileName.Text)
file.SourceFilePath = edtFileName.Text



drive.CDInfo (NERO_READ_CD_TEXT)

DISK_INFO = nero.GetDiscImageInfo(???)

End Sub

#2

If you have Nero you can use Nero CD/DVD speed.
Or this one: CDVD Info


#3

Thanks for your replies.

but i want to know that the way of using Nero SDK in Visual Basic …

plz help :eek:

[quote=CopperTomato;2003362]If you have Nero you can use Nero CD/DVD speed.
Or this one: CDVD Info