Thanks so much for that. I have an older version of the SDK which is SAPI 4.0 installed on my pc. Hence the function WaitUntilDone method is not available. So I googled to get the latest version download. I found a package titled Microsoft Speech Application SDK version 1.1 Since it speaks of Vista I am sure it is definitely newer than the one on my PC. I don't know if there is a better package around.
Regards TFE http://totallyfreeenergy.zxq.net --- In [email protected], Rob Kennedy <rkenn...@...> wrote: > > totallyfreeenergy wrote: > > I have a tricky problem while using Microsoft TextToSpeech component. > > When I start the speak say > > > > Form1.TextToSpeech1.Speak("After I stop speaking comp1 will become > > visible"); > > Form1.Component1.Visible := true; > > > > I would like to achieve a pause till the TextToSpeech1 stops speaking then > > go to the next statement. > > Call the WaitUntilDone method. > > http://msdn.microsoft.com/en-us/library/ms719576.aspx > > -- > Rob >

