Click here to Skip to main content
15,905,322 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In this url

href="http://www.vb4arab.com/vb/uploaded/109716/01290718173.jpg">Speech
[^]

this screen is from control panel then speech

I need what is the process name in the picture in this URL .
then in the button click even I Shall write process.start("process name") in windows XP

I write the process name "sapisvr.exe" but no screen shown

I hope you can help
if its not clear you can ask
:confused:

[Translation]
When the user clicks a button in my application I want the SAPI Properties Dialog to appear for them to make changes to the settings.

Does anyone know how to do this?
[/Translation]
Posted
Updated 15-Dec-10 3:41am
v8
Comments
#realJSOP 15-Dec-10 8:31am    
It's not clear at all, so I don't know what to ask.
lolinalo 15-Jan-11 11:56am    
Hi friends..
i need the same thing but in win7 can you help I've been trying this :
Shell("c:\windows\Speech\Common\sapisvr.exe -SpeechUX", AppWinStyle.NormalFocus)
but the dialog not appear

Here you go.
Process.Start("C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.cpl")


And you will find the dialog on your screen.
 
Share this answer
 
Calling sapiscr.exe doesn't invoke the "Speech properties" dialog. The complete command line to do that looks like this:
(This information was gleaned by using Sysinternal's "Process Explorer" and dragging the "Find Window symbol" on the "Speech Properties" dialog which was opened from the Settings dialog.)


dos
"C:\Windows\system32\rundll32.exe" C:\Windows\system32\shell32.dll,Control_RunDLL "C:\Windows\System32\Speech\SpeechUX\sapi.cpl",Text to Speech


This works if windows folder is C:\Windows and sapi.cpl is located under C:\Windows\system32\Speech\SpeechUX.

Figure out what ProcessStartInfo parameters you'll need to set and
feel free to come back for more if it doesn't work out. You need to give us detailed information of exactly where you are experiencing difficulties.


Best Regards,


Manfred
 
Share this answer
 
v3

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