如何在.net中添加sapi4引用? [英] how to add sapi4 reference in .net?

查看:85
本文介绍了如何在.net中添加sapi4引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用vb.net和sapi5创建了文本到语音程序,但我想在我的程序中添加sapi 4的引用。

i已经安装了sapi 4和5但我只有sapi添加引用对话框中的5个引用。

解决方案

这里一个链接来自 其中您可以下载SAPI4  SAPI5。安装SAPI4后,添加引用 其COM组件使用  添加参考对话框 您的.NET项目 使用其接口。 

以下一些有用链接 SAPI 其用法:

http://en.wikipedia.org/wiki/Microsoft_Speech_API

http://stackoverflow.com/questions/ 1460891 /如何对存取SAPI -4-声音-从净框架-3-5


i have create text to speech program using vb.net and sapi5 but i wanna add reference of sapi 4 in my program .
i have both sapi 4 and 5 have installed but i have got only sapi 5 references in add references dialog.

解决方案

Here is a link from where you can download both SAPI4 and SAPI5. Once you installl SAPI4, add reference to its COM Component using the "Add Reference" dialog in your .NET project and use its interfaces.

Following are some helpful links on SAPI and its usage:

http://en.wikipedia.org/wiki/Microsoft_Speech_API

http://stackoverflow.com/questions/1460891/how-to-access-sapi-4-voices-from-net-framework-3-5


这篇关于如何在.net中添加sapi4引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆