Results 1 to 3 of 3

Thread: Using Speechlib

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    26

    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:
    1. Public WithEvents RC As SpeechLib.SpSharedRecoContext 'SpSharedRecoContext
    2.     Public myGrammar As SpeechLib.ISpeechRecoGrammar
    3.     Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
    4.         RC = New SpSharedRecoContext 'ERROR here
    5.         myGrammar = RC.CreateGrammar
    6.         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

  2. #2
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Using Speechlib

    What was it orginally compiled under? XP?

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Nov 2006
    Posts
    26

    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
  •  



Click Here to Expand Forum to Full Width