Re: Making use of SayTools - issue after machine reload - C#

  • From: "Jacob Kruger" <jacobk@xxxxxxxxxxxxxx>
  • To: <programmingblind@xxxxxxxxxxxxx>
  • Date: Tue, 15 Jun 2010 17:25:25 +0200

Ok, is now working again after downloaded the saysetup.exe file again and ran it's install.


Apart from re-installation, I did again just copy saytools.dll into project, just in case.

Thanks

Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'

----- Original Message ----- From: "Jamal Mazrui" <empower@xxxxxxxxx>
To: <programmingblind@xxxxxxxxxxxxx>
Cc: "Jacob Kruger" <jacobk@xxxxxxxxxxxxxx>
Sent: Tuesday, June 15, 2010 2:29 PM
Subject: Re: Making use of SayTools - issue after machine reload - C#


It sounds like your code is unable to instantiate the Say.Tools COM object. Maybe try reinstalling SayTools so its registry settings are refreshed.


On 6/15/2010 3:27 AM, Jacob Kruger wrote:
J>

After reloading my machine, the following bit of code I have used often
enough to get SayTools to speak extra info for me, is now not working:

Type t = Type .GetTypeFromProgID( "Say.Tools" );

object oST = Activator .CreateInstance(t);

object [] aParams = { stIn };
a
t.InvokeMember( "Say" , BindingFlags .InvokeMethod, null , oST, aParams);

mThe specific bit of code that seems to be the issue is this one:
Type t = Type .GetTypeFromProgID( "Say.Tools" );
Basically, t is being returned as a nul object, and I don't seem to be
aable to run a regsvr32 on SayTools.dll itsself since I sort of assume
there's something I haven't installed on the machine as of yet that it
needs to reference/make use of, but not too sure what that could be
silnce have jaws installed here, have loaded various versions of sapi
SDKs - both 4 and 5, and other talking software seems to be working.
I am also making sure there's a copy of SayTools.dll in the working
folders etc., but haven't actually made any project references to it,
but this worked in the past.
Any ideas/thoughts?
Stay well

Jacob Kruger
Blind Biker
Skype: BlindZA
'...fate had broken his body, but not his spirit...'


__________ Information from ESET NOD32 Antivirus, version of virus
signature database 5196 (20100614) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com

__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind


__________ Information from ESET NOD32 Antivirus, version of virus signature database 5197 (20100615) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com





__________ Information from ESET NOD32 Antivirus, version of virus signature 
database 5198 (20100615) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com



__________
View the list's information and change your settings at //www.freelists.org/list/programmingblind

Other related posts: