单击按钮时显示

编程入门 行业动态 更新时间:2024-10-28 16:21:33
本文介绍了单击按钮时显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

在此网址中 href ="www.vb4arab/vb/uploaded/109716/01290718173.jpg">语音 [ ^ ] 该屏幕来自控制面板,然后是语音 我需要此URL中图片中的进程名称是什么. 然后即使在Windows XP中也要在按钮中单击process.start("process name") 我写了进程名称"sapisvr.exe",但未显示任何屏幕 希望您能帮忙 如果不清楚,你可以问 :confused: [翻译] 当用户单击我的应用程序中的按钮时,我希望显示"SAPI属性"对话框,以便他们更改设置. 有谁知道该怎么做? [/Translation]

In this url href="www.vb4arab/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]

推荐答案

在这里. Process.Start("C:\Program Files\Common Files\Microsoft Shared\Speech\sapi.cpl")

您会在屏幕上找到该对话框.

And you will find the dialog on your screen.

调用sapiscr.exe不会调用语音属性"对话框.完整的命令行如下所示: (通过使用Sysinternal的"Process Explorer"并在从设置"对话框打开的语音属性"对话框上拖动查找窗口符号"来收集此信息.) 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.) "C:\Windows\system32\rundll32.exe" C:\Windows\system32\shell32.dll,Control_RunDLL "C:\Windows\System32\Speech\SpeechUX\sapi.cpl",Text to Speech

如果Windows文件夹为C:\ Windows且sapi.cpl位于C:\ Windows \ system32 \ Speech \ SpeechUX下,则此方法有效. 弄清楚您需要设置哪些ProcessStartInfo参数,并 如果无法解决问题,请随时返回以获取更多信息.您需要向我们提供有关您遇到困难的确切位置的详细信息. 最好的问候, 曼弗雷德(Manfred)

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

更多推荐

单击按钮时显示

本文发布于:2023-11-10 01:39:30,感谢您对本站的认可!
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:单击   按钮

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!