Hi, I've put a code with a loop in a thread and: For LoopIdx = 0 To RowCnt // Code to search and play one song
// other code removed While s.IsPlaying // stop the sound playing If UserCancelled Then Exit Wend // stop the songs playing loop If UserCancelled Then Exit Next but now I cannot cancel anymore the sound playing (While .../... Wend loop). <some minutes later, after a song playing is done:> It seems that the second loop can be cancelled (For .../... Next) Am I wrong ? If so, where ? TIA, Emile _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
