Question : Speech Error Message -- WTF?

I am building a Verbal Message Box, which works just as I planned the first time I call it.  Prompts the user by voice and waits for one of three spoken choices.)

I am pretty sure I have eliminated all the objects I initialized before I call it a second time, so it SHOULD work exactly the same way, but on the next call I get this error:

Unable to cast COM object of type 'System.Speech.Internal.SapiInterop.SpSharedRecognizer to interface type 'System.Speech.Internal.SapiInterop.ISpRecognizer'.  This operation failed because the QueryInterface call on the COM component for the interface with
ID:{c2B5F241...) failed due to the following error: No such interface supported
(Exception from HRESULT: 0X80004002(E_NOINTERFACE)

Any one have any ideas what I might be doing wrong?

Thanks in advance.

Answer : Speech Error Message -- WTF?

Do you hide and unhide it or open up a new instance? I can see you hiding it only.
Random Solutions  
 
programming4us programming4us