Multisession

vbimport

#1

My problem is

1 I dont know what flags to import when calling drive.ImportIsoTrack;
2 What these flags are
3 And when i call drive.ImportIsoTrack drive.onDoneImport never hapens, whay?

i call
if(NumberTrack>0) //from cdinfo
{
for(int i=0;i<NumberTrack;i++)
{
try
{
drive.ImportIsoTrack(i+1,NERO_IMPORT_ISO_TRACK_FLAGS.NERO_IMPORT_ISO_ONLY);
}
catch(Exception e)
{
MessageBox.Show(e.Message);
}

			}
		}

#2

sorry for mistake

i call
if(NumberTrack>0) //from cdinfo
{
for(int i=0;i<NumberTrack;i++)
{
try
{
drive.ImportIsoTrack(i+1,NERO_IMPORT_ISO_TRACK_FLAGS.NERO_IMPORT_ISO_ONLY);
}
catch(Exception e)
{
MessageBox.Show(e.Message);
}

			}
		}

#3

sorry for mistake

i call
if(NumberTrack>0) //from cdinfo
{
for(int i=0;i<NumberTrack2;i++)
{
try
{
drive.ImportIsoTrack(i+1,NERO_IMPORT_ISO_TRACK_FLAGS.NERO_IMPORT_ISO_ONLY);
}
catch(Exception e)
{
MessageBox.Show(e.Message);
}

			}
		}

#4

i don know but it dos not displey

for(int i=0,i<NumberTrack,i++)


#5

When posting code, you should always use code tags… [ code ] [ / code ] like the following:

for (i = 0; i < 5; i ++) { } 

As for you problem… Why would you want to import all tracks in a single loop? Normally, you want to import only one track, usually the last one. Your code will not work for another reason… you should really wait for OnDoneImport[2] event before attempting another import, or you will get an error.

And another thing… imported tracks are zero based, so i + 1 (when i = 0) will actually import the second track.

For a definition of various flags, you should consult the docs. Besides, many of the names are already safe explanatory.