Click here to Skip to main content
16,023,224 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am using this code to generate voice .... Here i am using the
" Interop.SpeechLib.dll "


'''''''''Inside Button Click ''''''''''

voice.Voice = voice.GetVoices.Item(1)

voice.Speak("Welcome New Website ",SpeechVoiceSpeakFlags.SVSFlagsAsync)

voice.WaitUntilDone(10000)

''''''''''''''''''''''''''



The above code will convert the text "Welcome New Website " as voice ..

This code was working superbly in local machine When I click the button voice was coming......

but I have a problem after hosting in the web if I click the button the voice was coming in the server.. not in system where u click the button ...


please give a solution waiting for u r replies....



Thanks in advance
Posted

1 solution

Your running the code on the server side.

Maybe try it in Silverlight as that runs on the client side.
MSDN text to speech
You could make the welcome banner a hosted silverlight app

Sorry I'm not familiar enough with ASP.Net to get it to work there. But generally ASP runs server side.
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900