|
-
Dec 24th, 2007, 01:07 AM
#1
Thread Starter
Junior Member
Using Speechlib
Some of my old code that I used a while back(which in the old executable) still works, however now It will not work at this date when compiling, as I wish to use it with some slight differences.
this is just a snipit of the code
vb Code:
Public WithEvents RC As SpeechLib.SpSharedRecoContext 'SpSharedRecoContext
Public myGrammar As SpeechLib.ISpeechRecoGrammar
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
RC = New SpSharedRecoContext 'ERROR here
myGrammar = RC.CreateGrammar
myGrammar.DictationSetState(SpeechRuleState.SGDSInactive)
I've tried compiling on the same machine(previously reformatted), and a newer computer(Vista), which give two different errors when running
The error on XP gives "Creating an instance of the COM component with the CLSID{47206204-5ECA-960F-00C04F8EE628} from the IclassFactory failed due to the following error: 8004503a"
The error on the Vista PC gives some message "speech recognition could not start because the language configuration is not supported"
This is really aggravating me as this SHOULD work.
Last edited by kloplop321; Dec 24th, 2007 at 12:37 PM.
Reason: higlighting the VB code
-
Dec 24th, 2007, 05:00 AM
#2
Re: Using Speechlib
What was it orginally compiled under? XP?
-
Dec 24th, 2007, 10:35 AM
#3
Thread Starter
Junior Member
Re: Using Speechlib
yes, it was XP, however which service pack, I am unsure of.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|