Weird Error

vbimport

#1

Can anyone tell me what this means and how to get around it?

-2147220984
An asynchronous operation is in progress! You can’t have two operations at the same time.

:confused:

All I trying to do is copy an Access Database to a CD-RW or DVD-RW with a multisession disk.


#2

The error you are getting means that you have attempted to start two lengthy oeprations at the same time such as two burn operations or a burn and an erase. The proper way to handle this is to start just one operation and wait for its OnDone event, then start the other.

If you could show some code, it would be much easier to pinpoint the exact problem.


#3

Yeah. After removing the “IF” statement in the following source code it started to burn fine:

If Drive.Capabilities And NERO_CAP_BUF_UNDERRUN_PROT Then
Drive.BurnIsoAudioCD “NYAS”, “Backup”, 0, ISOTrack, Nothing, Nothing, NERO_BURN_FLAG_WRITE + NERO_BURN_FLAG_BUF_UNDERRUN_PROT + NERO_BURN_FLAG_CLOSE_SESSION, 0, NERO_MEDIA_CD
Else
Drive.BurnIsoAudioCD “NYAS”, “Backup”, 0, ISOTrack, Nothing, Nothing, NERO_BURN_FLAG_WRITE + NERO_BURN_FLAG_CLOSE_SESSION, 0, NERO_MEDIA_CD
End If

So thanx for replying…
:smiley: