Hi Bruce, wouldn't everyone have SAPI 5 by now? could you even count on them having SAPI 4?
Chip -----Original Message----- From: BT [mailto:[email protected]] Sent: Thursday, July 15, 2010 5:37 PM To: [email protected] Subject: release of script for Windows Speech Recognition Hi Everyone, On a related topic and my learning how to use VB I ran into an interesting problem which may relate to registering but have not found any cure when searching the web. I made up a VBS script using a class for the Sapi 5 voices which also included Sapi 4 methods. But when creating the object...creatobject( "activevoice.activevoice") it says the object was not created, can't create object error! All web examples said to use the regsvr32 xvoice.dll to register the Sapi 4 but it failed and said it was registered, but did not fix the problem. This error only comes when using IE and calling a function on an HTML page. I am not on a server, just calling a .html file from a folder on my computer. If I just use the vbs script and not IE it works with no problems. So, I have tried every method I can find but it still will not create the object inside my class method, but does create the Sapi 5 sapi.sp object. Any help will be appreciated. The only thing I thought but have not done is go and get the ProgID from the registry instead. Please give me the way to do this. I am not using .net formats yet, just a simple VBS script. Bruce A. Babcock Sent: Monday, June 21, 2010 7:52 PM Subject: release of script for Windows Speech Recognition Hi all, I have just released a script for the free speech recognition which is built into Windows Vista and Windows 7. This capability allows you to both dictate text into applications, and to control them, select menu choices, click buttons, switch windows, and otherwise operate Windows completely hands free. There is also an optional component, which you usually have to download from the MS site, called WSR macros, which allows you to define your own verbal commands and their actions (this is included in my WSR script).
