Ah, thanks for the correction, Jim. I used the wrong flag. I used 
Capture rather than Playing. Been a long while since I did anything with 
VB 6.


Jim Kitchen wrote:
> Hi Damien
>
> In DirectX there is a function to have it wait for the wave file to finish 
> playing.  It looks something like
>
> wave1.Play DSBPLAY_DEFAULT
> Do
> DoEvents
> Loop While wave1.GetStatus = DSBSTATUS_PLAYING
>
> There is also a function just to check to see if it is still playing so that 
> your game can be doing other things in the mean time.
>
> And here is my Hello World VB6 program
>
> x = MsgBox(" Hello World ", 1, " ")
>
> You may want to put a 
>
> end
> unload me
>
> Just so that the program finishes correctly.
>
> HTH
>
> BFN
>
>      Jim
>
> Anything simple is stated in the most complicated manner.
>
> [EMAIL PROTECTED]
> http://www.kitchensinc.net
> (440) 286-6920
> Chardon Ohio USA
> _______________________________________________
> Gamers mailing list .. [email protected]
> To unsubscribe send E-mail to [EMAIL PROTECTED] You can visit
> http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make
> any subscription changes via the web.
>
>
>   


_______________________________________________
Gamers mailing list .. [email protected]
To unsubscribe send E-mail to [EMAIL PROTECTED] You can visit
http://audyssey.org/mailman/listinfo/gamers_audyssey.org to make
any subscription changes via the web.

Reply via email to