Connecting Tech Pros Worldwide Forums | Help | Site Map

Microsoft Speech SDK 5.1

ShadowOfTheBeast
Guest
 
Posts: n/a
#1: Nov 17 '05
Hi all, is there any one who have developed an application in c# using a
text-speech engine using the Microsoft Speech SDK 5.1 especially using visual
studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling error and cant
seem to resolve it! help!
--
The Matrix Insurrection

Adam Clauss
Guest
 
Posts: n/a
#2: Nov 17 '05

re: Microsoft Speech SDK 5.1


I'm currently using the SDK in a C# app (VS 2003). Having no problems at
all with it compiling, what error are you seeing?

--
Adam Clauss

"ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...[color=blue]
> Hi all, is there any one who have developed an application in c# using a
> text-speech engine using the Microsoft Speech SDK 5.1 especially using
> visual
> studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling error and
> cant
> seem to resolve it! help!
> --
> The Matrix Insurrection[/color]


ShadowOfTheBeast
Guest
 
Posts: n/a
#3: Nov 17 '05

re: Microsoft Speech SDK 5.1


Hi Adam, below is my original problem which i found when trying to compile
the simple TTS application which another person had an issue with as stated
below by me:


Hi found this article on a discussion group while i was searching on how to
resolve exacly the same issue...so rather than repeating the writing i have
pasted it below :

{{{{{I am having some problem with the SimpleTTS for C# and Speech List Box
for C
# examples in the Microsoft Speech SDK 5.1. When I try to build the samples
I get the following error:

F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type or name
space name 'SpeechLib' could not be found (are you missing a using directive
or an assembly reference?)

Then, in an attempt to add the reference - I add a reference to Interop.Spee
chLib.dll, which is in the bin directory. However, after adding the referenc
e I get the following error:

F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36): 'SimpleTTS.MainF
orm.Dispose()' : cannot override inherited member 'System.ComponentModel.Com
ponent.Dispose()' because it is not marked virtual, abstract, or override


Any feedback would be appreciated,}}}}}}

below is the full link to the above article in the discussion group i found
it at and solutions from replying users but did not seem to work, the guy who
posted it tried and i also tried!!!

has anyone encountered this and had any luck??
--
The Matrix Insurrection

--
The Matrix Insurrection


"Adam Clauss" wrote:
[color=blue]
> I'm currently using the SDK in a C# app (VS 2003). Having no problems at
> all with it compiling, what error are you seeing?
>
> --
> Adam Clauss
>
> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...[color=green]
> > Hi all, is there any one who have developed an application in c# using a
> > text-speech engine using the Microsoft Speech SDK 5.1 especially using
> > visual
> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling error and
> > cant
> > seem to resolve it! help!
> > --
> > The Matrix Insurrection[/color]
>
>
>[/color]
Adam Clauss
Guest
 
Posts: n/a
#4: Nov 17 '05

re: Microsoft Speech SDK 5.1


How did you actually go about adding the referecne? Went to Add Reference,
COM tab, and selected the Microsoft Speech Object Library?

--
Adam Clauss

"ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...[color=blue]
> Hi Adam, below is my original problem which i found when trying to compile
> the simple TTS application which another person had an issue with as
> stated
> below by me:
>
>
> Hi found this article on a discussion group while i was searching on how
> to
> resolve exacly the same issue...so rather than repeating the writing i
> have
> pasted it below :
>
> {{{{{I am having some problem with the SimpleTTS for C# and Speech List
> Box
> for C
> # examples in the Microsoft Speech SDK 5.1. When I try to build the
> samples
> I get the following error:
>
> F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type or
> name
> space name 'SpeechLib' could not be found (are you missing a using
> directive
> or an assembly reference?)
>
> Then, in an attempt to add the reference - I add a reference to
> Interop.Spee
> chLib.dll, which is in the bin directory. However, after adding the
> referenc
> e I get the following error:
>
> F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
> 'SimpleTTS.MainF
> orm.Dispose()' : cannot override inherited member
> 'System.ComponentModel.Com
> ponent.Dispose()' because it is not marked virtual, abstract, or override
>
>
> Any feedback would be appreciated,}}}}}}
>
> below is the full link to the above article in the discussion group i
> found
> it at and solutions from replying users but did not seem to work, the guy
> who
> posted it tried and i also tried!!!
>
> has anyone encountered this and had any luck??
> --
> The Matrix Insurrection
>
> --
> The Matrix Insurrection
>
>
> "Adam Clauss" wrote:
>[color=green]
>> I'm currently using the SDK in a C# app (VS 2003). Having no problems at
>> all with it compiling, what error are you seeing?
>>
>> --
>> Adam Clauss
>>
>> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
>> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...[color=darkred]
>> > Hi all, is there any one who have developed an application in c# using
>> > a
>> > text-speech engine using the Microsoft Speech SDK 5.1 especially using
>> > visual
>> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling error
>> > and
>> > cant
>> > seem to resolve it! help!
>> > --
>> > The Matrix Insurrection[/color]
>>
>>
>>[/color][/color]


Adam Clauss
Guest
 
Posts: n/a
#5: Nov 17 '05

re: Microsoft Speech SDK 5.1


Although... it's odd. The sample should come with the reference already
added - mine did...

--
Adam Clauss

"Adam Clauss" <cabadam@tamu.edu> wrote in message
news:11c07kd6reuhr0d@corp.supernews.com...[color=blue]
> How did you actually go about adding the referecne? Went to Add
> Reference, COM tab, and selected the Microsoft Speech Object Library?
>
> --
> Adam Clauss
>
> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...[color=green]
>> Hi Adam, below is my original problem which i found when trying to
>> compile
>> the simple TTS application which another person had an issue with as
>> stated
>> below by me:
>>
>>
>> Hi found this article on a discussion group while i was searching on how
>> to
>> resolve exacly the same issue...so rather than repeating the writing i
>> have
>> pasted it below :
>>
>> {{{{{I am having some problem with the SimpleTTS for C# and Speech List
>> Box
>> for C
>> # examples in the Microsoft Speech SDK 5.1. When I try to build the
>> samples
>> I get the following error:
>>
>> F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type or
>> name
>> space name 'SpeechLib' could not be found (are you missing a using
>> directive
>> or an assembly reference?)
>>
>> Then, in an attempt to add the reference - I add a reference to
>> Interop.Spee
>> chLib.dll, which is in the bin directory. However, after adding the
>> referenc
>> e I get the following error:
>>
>> F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
>> 'SimpleTTS.MainF
>> orm.Dispose()' : cannot override inherited member
>> 'System.ComponentModel.Com
>> ponent.Dispose()' because it is not marked virtual, abstract, or override
>>
>>
>> Any feedback would be appreciated,}}}}}}
>>
>> below is the full link to the above article in the discussion group i
>> found
>> it at and solutions from replying users but did not seem to work, the guy
>> who
>> posted it tried and i also tried!!!
>>
>> has anyone encountered this and had any luck??
>> --
>> The Matrix Insurrection
>>
>> --
>> The Matrix Insurrection
>>
>>
>> "Adam Clauss" wrote:
>>[color=darkred]
>>> I'm currently using the SDK in a C# app (VS 2003). Having no problems
>>> at
>>> all with it compiling, what error are you seeing?
>>>
>>> --
>>> Adam Clauss
>>>
>>> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
>>> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
>>> > Hi all, is there any one who have developed an application in c# using
>>> > a
>>> > text-speech engine using the Microsoft Speech SDK 5.1 especially using
>>> > visual
>>> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling error
>>> > and
>>> > cant
>>> > seem to resolve it! help!
>>> > --
>>> > The Matrix Insurrection
>>>
>>>
>>>[/color][/color]
>
>[/color]


ShadowOfTheBeast
Guest
 
Posts: n/a
#6: Nov 17 '05

re: Microsoft Speech SDK 5.1


Hi Adam, thatis what i did...i went to the add reference/com tab then browsed
to the Bin directory to added the Interop.SpeechLib and the namespace in the
file, when i build it i get build errors and when it prompts me in the
dialogue box "if i want to continue" i click yes and then i get this error in
a messagebox :

Visual Studio cannot start debugging because the debug target'C:\Program
Files\ Microsoft Speech SDK
5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is missing.Please build
the broject and retry.

and that is all i get when i try to biuld/compile the project
did you experience this ?

--
The Matrix Insurrection


"Adam Clauss" wrote:
[color=blue]
> How did you actually go about adding the referecne? Went to Add Reference,
> COM tab, and selected the Microsoft Speech Object Library?
>
> --
> Adam Clauss
>
> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...[color=green]
> > Hi Adam, below is my original problem which i found when trying to compile
> > the simple TTS application which another person had an issue with as
> > stated
> > below by me:
> >
> >
> > Hi found this article on a discussion group while i was searching on how
> > to
> > resolve exacly the same issue...so rather than repeating the writing i
> > have
> > pasted it below :
> >
> > {{{{{I am having some problem with the SimpleTTS for C# and Speech List
> > Box
> > for C
> > # examples in the Microsoft Speech SDK 5.1. When I try to build the
> > samples
> > I get the following error:
> >
> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type or
> > name
> > space name 'SpeechLib' could not be found (are you missing a using
> > directive
> > or an assembly reference?)
> >
> > Then, in an attempt to add the reference - I add a reference to
> > Interop.Spee
> > chLib.dll, which is in the bin directory. However, after adding the
> > referenc
> > e I get the following error:
> >
> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
> > 'SimpleTTS.MainF
> > orm.Dispose()' : cannot override inherited member
> > 'System.ComponentModel.Com
> > ponent.Dispose()' because it is not marked virtual, abstract, or override
> >
> >
> > Any feedback would be appreciated,}}}}}}
> >
> > below is the full link to the above article in the discussion group i
> > found
> > it at and solutions from replying users but did not seem to work, the guy
> > who
> > posted it tried and i also tried!!!
> >
> > has anyone encountered this and had any luck??
> > --
> > The Matrix Insurrection
> >
> > --
> > The Matrix Insurrection
> >
> >
> > "Adam Clauss" wrote:
> >[color=darkred]
> >> I'm currently using the SDK in a C# app (VS 2003). Having no problems at
> >> all with it compiling, what error are you seeing?
> >>
> >> --
> >> Adam Clauss
> >>
> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> >> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
> >> > Hi all, is there any one who have developed an application in c# using
> >> > a
> >> > text-speech engine using the Microsoft Speech SDK 5.1 especially using
> >> > visual
> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling error
> >> > and
> >> > cant
> >> > seem to resolve it! help!
> >> > --
> >> > The Matrix Insurrection
> >>
> >>
> >>[/color][/color]
>
>
>[/color]
Adam Clauss
Guest
 
Posts: n/a
#7: Nov 17 '05

re: Microsoft Speech SDK 5.1


No no - don't go to the bin directory and add the reference there. Scroll
through the COM list for the "Microsoft Speech Object Library".

--
Adam Clauss

"ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...[color=blue]
> Hi Adam, thatis what i did...i went to the add reference/com tab then
> browsed
> to the Bin directory to added the Interop.SpeechLib and the namespace in
> the
> file, when i build it i get build errors and when it prompts me in the
> dialogue box "if i want to continue" i click yes and then i get this error
> in
> a messagebox :
>
> Visual Studio cannot start debugging because the debug target'C:\Program
> Files\ Microsoft Speech SDK
> 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is missing.Please
> build
> the broject and retry.
>
> and that is all i get when i try to biuld/compile the project
> did you experience this ?
>
> --
> The Matrix Insurrection
>
>
> "Adam Clauss" wrote:
>[color=green]
>> How did you actually go about adding the referecne? Went to Add
>> Reference,
>> COM tab, and selected the Microsoft Speech Object Library?
>>
>> --
>> Adam Clauss
>>
>> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
>> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...[color=darkred]
>> > Hi Adam, below is my original problem which i found when trying to
>> > compile
>> > the simple TTS application which another person had an issue with as
>> > stated
>> > below by me:
>> >
>> >
>> > Hi found this article on a discussion group while i was searching on
>> > how
>> > to
>> > resolve exacly the same issue...so rather than repeating the writing i
>> > have
>> > pasted it below :
>> >
>> > {{{{{I am having some problem with the SimpleTTS for C# and Speech List
>> > Box
>> > for C
>> > # examples in the Microsoft Speech SDK 5.1. When I try to build the
>> > samples
>> > I get the following error:
>> >
>> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type or
>> > name
>> > space name 'SpeechLib' could not be found (are you missing a using
>> > directive
>> > or an assembly reference?)
>> >
>> > Then, in an attempt to add the reference - I add a reference to
>> > Interop.Spee
>> > chLib.dll, which is in the bin directory. However, after adding the
>> > referenc
>> > e I get the following error:
>> >
>> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
>> > 'SimpleTTS.MainF
>> > orm.Dispose()' : cannot override inherited member
>> > 'System.ComponentModel.Com
>> > ponent.Dispose()' because it is not marked virtual, abstract, or
>> > override
>> >
>> >
>> > Any feedback would be appreciated,}}}}}}
>> >
>> > below is the full link to the above article in the discussion group i
>> > found
>> > it at and solutions from replying users but did not seem to work, the
>> > guy
>> > who
>> > posted it tried and i also tried!!!
>> >
>> > has anyone encountered this and had any luck??
>> > --
>> > The Matrix Insurrection
>> >
>> > --
>> > The Matrix Insurrection
>> >
>> >
>> > "Adam Clauss" wrote:
>> >
>> >> I'm currently using the SDK in a C# app (VS 2003). Having no problems
>> >> at
>> >> all with it compiling, what error are you seeing?
>> >>
>> >> --
>> >> Adam Clauss
>> >>
>> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
>> >> in
>> >> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
>> >> > Hi all, is there any one who have developed an application in c#
>> >> > using
>> >> > a
>> >> > text-speech engine using the Microsoft Speech SDK 5.1 especially
>> >> > using
>> >> > visual
>> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling error
>> >> > and
>> >> > cant
>> >> > seem to resolve it! help!
>> >> > --
>> >> > The Matrix Insurrection
>> >>
>> >>
>> >>[/color]
>>
>>
>>[/color][/color]


ShadowOfTheBeast
Guest
 
Posts: n/a
#8: Nov 17 '05

re: Microsoft Speech SDK 5.1


Hi Adam o.k i removed the one from the bin directory and added the one from
the com list and still have the "using SpeechLib" as that is what it appears
as in the reference solution explorer (SpeechLib)...recompiled it still the
same issue
--
The Matrix Insurrection


"Adam Clauss" wrote:
[color=blue]
> No no - don't go to the bin directory and add the reference there. Scroll
> through the COM list for the "Microsoft Speech Object Library".
>
> --
> Adam Clauss
>
> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...[color=green]
> > Hi Adam, thatis what i did...i went to the add reference/com tab then
> > browsed
> > to the Bin directory to added the Interop.SpeechLib and the namespace in
> > the
> > file, when i build it i get build errors and when it prompts me in the
> > dialogue box "if i want to continue" i click yes and then i get this error
> > in
> > a messagebox :
> >
> > Visual Studio cannot start debugging because the debug target'C:\Program
> > Files\ Microsoft Speech SDK
> > 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is missing.Please
> > build
> > the broject and retry.
> >
> > and that is all i get when i try to biuld/compile the project
> > did you experience this ?
> >
> > --
> > The Matrix Insurrection
> >
> >
> > "Adam Clauss" wrote:
> >[color=darkred]
> >> How did you actually go about adding the referecne? Went to Add
> >> Reference,
> >> COM tab, and selected the Microsoft Speech Object Library?
> >>
> >> --
> >> Adam Clauss
> >>
> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> >> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...
> >> > Hi Adam, below is my original problem which i found when trying to
> >> > compile
> >> > the simple TTS application which another person had an issue with as
> >> > stated
> >> > below by me:
> >> >
> >> >
> >> > Hi found this article on a discussion group while i was searching on
> >> > how
> >> > to
> >> > resolve exacly the same issue...so rather than repeating the writing i
> >> > have
> >> > pasted it below :
> >> >
> >> > {{{{{I am having some problem with the SimpleTTS for C# and Speech List
> >> > Box
> >> > for C
> >> > # examples in the Microsoft Speech SDK 5.1. When I try to build the
> >> > samples
> >> > I get the following error:
> >> >
> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type or
> >> > name
> >> > space name 'SpeechLib' could not be found (are you missing a using
> >> > directive
> >> > or an assembly reference?)
> >> >
> >> > Then, in an attempt to add the reference - I add a reference to
> >> > Interop.Spee
> >> > chLib.dll, which is in the bin directory. However, after adding the
> >> > referenc
> >> > e I get the following error:
> >> >
> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
> >> > 'SimpleTTS.MainF
> >> > orm.Dispose()' : cannot override inherited member
> >> > 'System.ComponentModel.Com
> >> > ponent.Dispose()' because it is not marked virtual, abstract, or
> >> > override
> >> >
> >> >
> >> > Any feedback would be appreciated,}}}}}}
> >> >
> >> > below is the full link to the above article in the discussion group i
> >> > found
> >> > it at and solutions from replying users but did not seem to work, the
> >> > guy
> >> > who
> >> > posted it tried and i also tried!!!
> >> >
> >> > has anyone encountered this and had any luck??
> >> > --
> >> > The Matrix Insurrection
> >> >
> >> > --
> >> > The Matrix Insurrection
> >> >
> >> >
> >> > "Adam Clauss" wrote:
> >> >
> >> >> I'm currently using the SDK in a C# app (VS 2003). Having no problems
> >> >> at
> >> >> all with it compiling, what error are you seeing?
> >> >>
> >> >> --
> >> >> Adam Clauss
> >> >>
> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
> >> >> in
> >> >> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
> >> >> > Hi all, is there any one who have developed an application in c#
> >> >> > using
> >> >> > a
> >> >> > text-speech engine using the Microsoft Speech SDK 5.1 especially
> >> >> > using
> >> >> > visual
> >> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling error
> >> >> > and
> >> >> > cant
> >> >> > seem to resolve it! help!
> >> >> > --
> >> >> > The Matrix Insurrection
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>[/color][/color]
>
>
>[/color]
Adam Clauss
Guest
 
Posts: n/a
#9: Nov 17 '05

re: Microsoft Speech SDK 5.1


OK... find that line where Dispose is declared...
replace that method with:
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
if (components != null)
components.Dispose();
}


Now that I think back, I actually think I had the same problem - it isn't
actually a problem with the speechlib at all, just a change that was made in
Dispose. (AKA - you could create your own app, add a reference to SpeechLib
and it would work fine). This change should fix the SimpleTTS app though.

--
Adam Clauss

"ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
message news:E0BE8BA5-84BC-45C1-99F2-46ED495ABB1B@microsoft.com...[color=blue]
> Hi Adam o.k i removed the one from the bin directory and added the one
> from
> the com list and still have the "using SpeechLib" as that is what it
> appears
> as in the reference solution explorer (SpeechLib)...recompiled it still
> the
> same issue
> --
> The Matrix Insurrection
>
>
> "Adam Clauss" wrote:
>[color=green]
>> No no - don't go to the bin directory and add the reference there.
>> Scroll
>> through the COM list for the "Microsoft Speech Object Library".
>>
>> --
>> Adam Clauss
>>
>> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
>> message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...[color=darkred]
>> > Hi Adam, thatis what i did...i went to the add reference/com tab then
>> > browsed
>> > to the Bin directory to added the Interop.SpeechLib and the namespace
>> > in
>> > the
>> > file, when i build it i get build errors and when it prompts me in the
>> > dialogue box "if i want to continue" i click yes and then i get this
>> > error
>> > in
>> > a messagebox :
>> >
>> > Visual Studio cannot start debugging because the debug
>> > target'C:\Program
>> > Files\ Microsoft Speech SDK
>> > 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is missing.Please
>> > build
>> > the broject and retry.
>> >
>> > and that is all i get when i try to biuld/compile the project
>> > did you experience this ?
>> >
>> > --
>> > The Matrix Insurrection
>> >
>> >
>> > "Adam Clauss" wrote:
>> >
>> >> How did you actually go about adding the referecne? Went to Add
>> >> Reference,
>> >> COM tab, and selected the Microsoft Speech Object Library?
>> >>
>> >> --
>> >> Adam Clauss
>> >>
>> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
>> >> in
>> >> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...
>> >> > Hi Adam, below is my original problem which i found when trying to
>> >> > compile
>> >> > the simple TTS application which another person had an issue with as
>> >> > stated
>> >> > below by me:
>> >> >
>> >> >
>> >> > Hi found this article on a discussion group while i was searching on
>> >> > how
>> >> > to
>> >> > resolve exacly the same issue...so rather than repeating the
>> >> > writing i
>> >> > have
>> >> > pasted it below :
>> >> >
>> >> > {{{{{I am having some problem with the SimpleTTS for C# and Speech
>> >> > List
>> >> > Box
>> >> > for C
>> >> > # examples in the Microsoft Speech SDK 5.1. When I try to build the
>> >> > samples
>> >> > I get the following error:
>> >> >
>> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type
>> >> > or
>> >> > name
>> >> > space name 'SpeechLib' could not be found (are you missing a using
>> >> > directive
>> >> > or an assembly reference?)
>> >> >
>> >> > Then, in an attempt to add the reference - I add a reference to
>> >> > Interop.Spee
>> >> > chLib.dll, which is in the bin directory. However, after adding the
>> >> > referenc
>> >> > e I get the following error:
>> >> >
>> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
>> >> > 'SimpleTTS.MainF
>> >> > orm.Dispose()' : cannot override inherited member
>> >> > 'System.ComponentModel.Com
>> >> > ponent.Dispose()' because it is not marked virtual, abstract, or
>> >> > override
>> >> >
>> >> >
>> >> > Any feedback would be appreciated,}}}}}}
>> >> >
>> >> > below is the full link to the above article in the discussion group
>> >> > i
>> >> > found
>> >> > it at and solutions from replying users but did not seem to work,
>> >> > the
>> >> > guy
>> >> > who
>> >> > posted it tried and i also tried!!!
>> >> >
>> >> > has anyone encountered this and had any luck??
>> >> > --
>> >> > The Matrix Insurrection
>> >> >
>> >> > --
>> >> > The Matrix Insurrection
>> >> >
>> >> >
>> >> > "Adam Clauss" wrote:
>> >> >
>> >> >> I'm currently using the SDK in a C# app (VS 2003). Having no
>> >> >> problems
>> >> >> at
>> >> >> all with it compiling, what error are you seeing?
>> >> >>
>> >> >> --
>> >> >> Adam Clauss
>> >> >>
>> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
>> >> >> wrote
>> >> >> in
>> >> >> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
>> >> >> > Hi all, is there any one who have developed an application in c#
>> >> >> > using
>> >> >> > a
>> >> >> > text-speech engine using the Microsoft Speech SDK 5.1 especially
>> >> >> > using
>> >> >> > visual
>> >> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling
>> >> >> > error
>> >> >> > and
>> >> >> > cant
>> >> >> > seem to resolve it! help!
>> >> >> > --
>> >> >> > The Matrix Insurrection
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>[/color]
>>
>>
>>[/color][/color]


ShadowOfTheBeast
Guest
 
Posts: n/a
#10: Nov 17 '05

re: Microsoft Speech SDK 5.1


just to crosscheck my vs.net is the same version and environment as
yours...mine is:

Microsoft development environment 2003 Version 7.1.3088
Copyright 1987-2002 Microsoft Corporation all rights reserved

Microsoft .Net Framework 1.1 version 1.1.4322
Copyright 1987-2002 Microsoft Corporation all rights reserved

from the Help menu/about dialogue... are they the same or different?

--
The Matrix Insurrection


"Adam Clauss" wrote:
[color=blue]
> No no - don't go to the bin directory and add the reference there. Scroll
> through the COM list for the "Microsoft Speech Object Library".
>
> --
> Adam Clauss
>
> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...[color=green]
> > Hi Adam, thatis what i did...i went to the add reference/com tab then
> > browsed
> > to the Bin directory to added the Interop.SpeechLib and the namespace in
> > the
> > file, when i build it i get build errors and when it prompts me in the
> > dialogue box "if i want to continue" i click yes and then i get this error
> > in
> > a messagebox :
> >
> > Visual Studio cannot start debugging because the debug target'C:\Program
> > Files\ Microsoft Speech SDK
> > 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is missing.Please
> > build
> > the broject and retry.
> >
> > and that is all i get when i try to biuld/compile the project
> > did you experience this ?
> >
> > --
> > The Matrix Insurrection
> >
> >
> > "Adam Clauss" wrote:
> >[color=darkred]
> >> How did you actually go about adding the referecne? Went to Add
> >> Reference,
> >> COM tab, and selected the Microsoft Speech Object Library?
> >>
> >> --
> >> Adam Clauss
> >>
> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> >> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...
> >> > Hi Adam, below is my original problem which i found when trying to
> >> > compile
> >> > the simple TTS application which another person had an issue with as
> >> > stated
> >> > below by me:
> >> >
> >> >
> >> > Hi found this article on a discussion group while i was searching on
> >> > how
> >> > to
> >> > resolve exacly the same issue...so rather than repeating the writing i
> >> > have
> >> > pasted it below :
> >> >
> >> > {{{{{I am having some problem with the SimpleTTS for C# and Speech List
> >> > Box
> >> > for C
> >> > # examples in the Microsoft Speech SDK 5.1. When I try to build the
> >> > samples
> >> > I get the following error:
> >> >
> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type or
> >> > name
> >> > space name 'SpeechLib' could not be found (are you missing a using
> >> > directive
> >> > or an assembly reference?)
> >> >
> >> > Then, in an attempt to add the reference - I add a reference to
> >> > Interop.Spee
> >> > chLib.dll, which is in the bin directory. However, after adding the
> >> > referenc
> >> > e I get the following error:
> >> >
> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
> >> > 'SimpleTTS.MainF
> >> > orm.Dispose()' : cannot override inherited member
> >> > 'System.ComponentModel.Com
> >> > ponent.Dispose()' because it is not marked virtual, abstract, or
> >> > override
> >> >
> >> >
> >> > Any feedback would be appreciated,}}}}}}
> >> >
> >> > below is the full link to the above article in the discussion group i
> >> > found
> >> > it at and solutions from replying users but did not seem to work, the
> >> > guy
> >> > who
> >> > posted it tried and i also tried!!!
> >> >
> >> > has anyone encountered this and had any luck??
> >> > --
> >> > The Matrix Insurrection
> >> >
> >> > --
> >> > The Matrix Insurrection
> >> >
> >> >
> >> > "Adam Clauss" wrote:
> >> >
> >> >> I'm currently using the SDK in a C# app (VS 2003). Having no problems
> >> >> at
> >> >> all with it compiling, what error are you seeing?
> >> >>
> >> >> --
> >> >> Adam Clauss
> >> >>
> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
> >> >> in
> >> >> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
> >> >> > Hi all, is there any one who have developed an application in c#
> >> >> > using
> >> >> > a
> >> >> > text-speech engine using the Microsoft Speech SDK 5.1 especially
> >> >> > using
> >> >> > visual
> >> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling error
> >> >> > and
> >> >> > cant
> >> >> > seem to resolve it! help!
> >> >> > --
> >> >> > The Matrix Insurrection
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>[/color][/color]
>
>
>[/color]
Adam Clauss
Guest
 
Posts: n/a
#11: Nov 17 '05

re: Microsoft Speech SDK 5.1


Same, except for .NET 1.1.4322 SP1

(service pack 1)

--
Adam Clauss

"ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
message news:EBCD39BD-B8D9-4E70-AD15-6F71A1B3CB78@microsoft.com...[color=blue]
> just to crosscheck my vs.net is the same version and environment as
> yours...mine is:
>
> Microsoft development environment 2003 Version 7.1.3088
> Copyright 1987-2002 Microsoft Corporation all rights reserved
>
> Microsoft .Net Framework 1.1 version 1.1.4322
> Copyright 1987-2002 Microsoft Corporation all rights reserved
>
> from the Help menu/about dialogue... are they the same or different?
>
> --
> The Matrix Insurrection
>
>
> "Adam Clauss" wrote:
>[color=green]
>> No no - don't go to the bin directory and add the reference there.
>> Scroll
>> through the COM list for the "Microsoft Speech Object Library".
>>
>> --
>> Adam Clauss
>>
>> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
>> message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...[color=darkred]
>> > Hi Adam, thatis what i did...i went to the add reference/com tab then
>> > browsed
>> > to the Bin directory to added the Interop.SpeechLib and the namespace
>> > in
>> > the
>> > file, when i build it i get build errors and when it prompts me in the
>> > dialogue box "if i want to continue" i click yes and then i get this
>> > error
>> > in
>> > a messagebox :
>> >
>> > Visual Studio cannot start debugging because the debug
>> > target'C:\Program
>> > Files\ Microsoft Speech SDK
>> > 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is missing.Please
>> > build
>> > the broject and retry.
>> >
>> > and that is all i get when i try to biuld/compile the project
>> > did you experience this ?
>> >
>> > --
>> > The Matrix Insurrection
>> >
>> >
>> > "Adam Clauss" wrote:
>> >
>> >> How did you actually go about adding the referecne? Went to Add
>> >> Reference,
>> >> COM tab, and selected the Microsoft Speech Object Library?
>> >>
>> >> --
>> >> Adam Clauss
>> >>
>> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
>> >> in
>> >> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...
>> >> > Hi Adam, below is my original problem which i found when trying to
>> >> > compile
>> >> > the simple TTS application which another person had an issue with as
>> >> > stated
>> >> > below by me:
>> >> >
>> >> >
>> >> > Hi found this article on a discussion group while i was searching on
>> >> > how
>> >> > to
>> >> > resolve exacly the same issue...so rather than repeating the
>> >> > writing i
>> >> > have
>> >> > pasted it below :
>> >> >
>> >> > {{{{{I am having some problem with the SimpleTTS for C# and Speech
>> >> > List
>> >> > Box
>> >> > for C
>> >> > # examples in the Microsoft Speech SDK 5.1. When I try to build the
>> >> > samples
>> >> > I get the following error:
>> >> >
>> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type
>> >> > or
>> >> > name
>> >> > space name 'SpeechLib' could not be found (are you missing a using
>> >> > directive
>> >> > or an assembly reference?)
>> >> >
>> >> > Then, in an attempt to add the reference - I add a reference to
>> >> > Interop.Spee
>> >> > chLib.dll, which is in the bin directory. However, after adding the
>> >> > referenc
>> >> > e I get the following error:
>> >> >
>> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
>> >> > 'SimpleTTS.MainF
>> >> > orm.Dispose()' : cannot override inherited member
>> >> > 'System.ComponentModel.Com
>> >> > ponent.Dispose()' because it is not marked virtual, abstract, or
>> >> > override
>> >> >
>> >> >
>> >> > Any feedback would be appreciated,}}}}}}
>> >> >
>> >> > below is the full link to the above article in the discussion group
>> >> > i
>> >> > found
>> >> > it at and solutions from replying users but did not seem to work,
>> >> > the
>> >> > guy
>> >> > who
>> >> > posted it tried and i also tried!!!
>> >> >
>> >> > has anyone encountered this and had any luck??
>> >> > --
>> >> > The Matrix Insurrection
>> >> >
>> >> > --
>> >> > The Matrix Insurrection
>> >> >
>> >> >
>> >> > "Adam Clauss" wrote:
>> >> >
>> >> >> I'm currently using the SDK in a C# app (VS 2003). Having no
>> >> >> problems
>> >> >> at
>> >> >> all with it compiling, what error are you seeing?
>> >> >>
>> >> >> --
>> >> >> Adam Clauss
>> >> >>
>> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
>> >> >> wrote
>> >> >> in
>> >> >> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
>> >> >> > Hi all, is there any one who have developed an application in c#
>> >> >> > using
>> >> >> > a
>> >> >> > text-speech engine using the Microsoft Speech SDK 5.1 especially
>> >> >> > using
>> >> >> > visual
>> >> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling
>> >> >> > error
>> >> >> > and
>> >> >> > cant
>> >> >> > seem to resolve it! help!
>> >> >> > --
>> >> >> > The Matrix Insurrection
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>[/color]
>>
>>
>>[/color][/color]


ShadowOfTheBeast
Guest
 
Posts: n/a
#12: Nov 17 '05

re: Microsoft Speech SDK 5.1


o.k so which seervice pack are you using an earlier one? or a later one...

also more specifically i get this error:

C:\Program Files\Microsoft Speech SDK
5.1\Samples\CSharp\SimpleTTS\MainForm.cs(36): 'SimpleTTS.MainForm.Dispose()'
: cannot override inherited member
'System.ComponentModel.Component.Dispose()' because it is not marked virtual,
abstract, or override

but i have checked using the object browser and the Base.Dispose()it is
marked 'virtual' ..
so why is this driving me nuts..and not working any further ideas..?

--
The Matrix Insurrection


"Adam Clauss" wrote:
[color=blue]
> Same, except for .NET 1.1.4322 SP1
>
> (service pack 1)
>
> --
> Adam Clauss
>
> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> message news:EBCD39BD-B8D9-4E70-AD15-6F71A1B3CB78@microsoft.com...[color=green]
> > just to crosscheck my vs.net is the same version and environment as
> > yours...mine is:
> >
> > Microsoft development environment 2003 Version 7.1.3088
> > Copyright 1987-2002 Microsoft Corporation all rights reserved
> >
> > Microsoft .Net Framework 1.1 version 1.1.4322
> > Copyright 1987-2002 Microsoft Corporation all rights reserved
> >
> > from the Help menu/about dialogue... are they the same or different?
> >
> > --
> > The Matrix Insurrection
> >
> >
> > "Adam Clauss" wrote:
> >[color=darkred]
> >> No no - don't go to the bin directory and add the reference there.
> >> Scroll
> >> through the COM list for the "Microsoft Speech Object Library".
> >>
> >> --
> >> Adam Clauss
> >>
> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> >> message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...
> >> > Hi Adam, thatis what i did...i went to the add reference/com tab then
> >> > browsed
> >> > to the Bin directory to added the Interop.SpeechLib and the namespace
> >> > in
> >> > the
> >> > file, when i build it i get build errors and when it prompts me in the
> >> > dialogue box "if i want to continue" i click yes and then i get this
> >> > error
> >> > in
> >> > a messagebox :
> >> >
> >> > Visual Studio cannot start debugging because the debug
> >> > target'C:\Program
> >> > Files\ Microsoft Speech SDK
> >> > 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is missing.Please
> >> > build
> >> > the broject and retry.
> >> >
> >> > and that is all i get when i try to biuld/compile the project
> >> > did you experience this ?
> >> >
> >> > --
> >> > The Matrix Insurrection
> >> >
> >> >
> >> > "Adam Clauss" wrote:
> >> >
> >> >> How did you actually go about adding the referecne? Went to Add
> >> >> Reference,
> >> >> COM tab, and selected the Microsoft Speech Object Library?
> >> >>
> >> >> --
> >> >> Adam Clauss
> >> >>
> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
> >> >> in
> >> >> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...
> >> >> > Hi Adam, below is my original problem which i found when trying to
> >> >> > compile
> >> >> > the simple TTS application which another person had an issue with as
> >> >> > stated
> >> >> > below by me:
> >> >> >
> >> >> >
> >> >> > Hi found this article on a discussion group while i was searching on
> >> >> > how
> >> >> > to
> >> >> > resolve exacly the same issue...so rather than repeating the
> >> >> > writing i
> >> >> > have
> >> >> > pasted it below :
> >> >> >
> >> >> > {{{{{I am having some problem with the SimpleTTS for C# and Speech
> >> >> > List
> >> >> > Box
> >> >> > for C
> >> >> > # examples in the Microsoft Speech SDK 5.1. When I try to build the
> >> >> > samples
> >> >> > I get the following error:
> >> >> >
> >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type
> >> >> > or
> >> >> > name
> >> >> > space name 'SpeechLib' could not be found (are you missing a using
> >> >> > directive
> >> >> > or an assembly reference?)
> >> >> >
> >> >> > Then, in an attempt to add the reference - I add a reference to
> >> >> > Interop.Spee
> >> >> > chLib.dll, which is in the bin directory. However, after adding the
> >> >> > referenc
> >> >> > e I get the following error:
> >> >> >
> >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
> >> >> > 'SimpleTTS.MainF
> >> >> > orm.Dispose()' : cannot override inherited member
> >> >> > 'System.ComponentModel.Com
> >> >> > ponent.Dispose()' because it is not marked virtual, abstract, or
> >> >> > override
> >> >> >
> >> >> >
> >> >> > Any feedback would be appreciated,}}}}}}
> >> >> >
> >> >> > below is the full link to the above article in the discussion group
> >> >> > i
> >> >> > found
> >> >> > it at and solutions from replying users but did not seem to work,
> >> >> > the
> >> >> > guy
> >> >> > who
> >> >> > posted it tried and i also tried!!!
> >> >> >
> >> >> > has anyone encountered this and had any luck??
> >> >> > --
> >> >> > The Matrix Insurrection
> >> >> >
> >> >> > --
> >> >> > The Matrix Insurrection
> >> >> >
> >> >> >
> >> >> > "Adam Clauss" wrote:
> >> >> >
> >> >> >> I'm currently using the SDK in a C# app (VS 2003). Having no
> >> >> >> problems
> >> >> >> at
> >> >> >> all with it compiling, what error are you seeing?
> >> >> >>
> >> >> >> --
> >> >> >> Adam Clauss
> >> >> >>
> >> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
> >> >> >> wrote
> >> >> >> in
> >> >> >> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
> >> >> >> > Hi all, is there any one who have developed an application in c#
> >> >> >> > using
> >> >> >> > a
> >> >> >> > text-speech engine using the Microsoft Speech SDK 5.1 especially
> >> >> >> > using
> >> >> >> > visual
> >> >> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling
> >> >> >> > error
> >> >> >> > and
> >> >> >> > cant
> >> >> >> > seem to resolve it! help!
> >> >> >> > --
> >> >> >> > The Matrix Insurrection
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>[/color][/color]
>
>
>[/color]
Adam Clauss
Guest
 
Posts: n/a
#13: Nov 17 '05

re: Microsoft Speech SDK 5.1


I have a service pack 1 for .NET 1.1, you do not. You probably should get
it (though I do not think it is related to this error). WindowsUpdate will
have it listed.

Look at my earlier post, see if that fixes it:
<snip>
OK... find that line where Dispose is declared...
replace that method with:
protected override void Dispose(bool disposing)
{
base.Dispose(disposing);
if (components != null)
components.Dispose();
}


Now that I think back, I actually think I had the same problem - it isn't
actually a problem with the speechlib at all, just a change that was made in
Dispose. (AKA - you could create your own app, add a reference to SpeechLib
and it would work fine). This change should fix the SimpleTTS app though.

--
Adam Clauss
</snip>

--
Adam Clauss

"ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
message news:CEBF31CE-1BBD-44A3-BD49-CB545A56FE57@microsoft.com...[color=blue]
> o.k so which seervice pack are you using an earlier one? or a later one...
>
> also more specifically i get this error:
>
> C:\Program Files\Microsoft Speech SDK
> 5.1\Samples\CSharp\SimpleTTS\MainForm.cs(36):
> 'SimpleTTS.MainForm.Dispose()'
> : cannot override inherited member
> 'System.ComponentModel.Component.Dispose()' because it is not marked
> virtual,
> abstract, or override
>
> but i have checked using the object browser and the Base.Dispose()it is
> marked 'virtual' ..
> so why is this driving me nuts..and not working any further ideas..?
>
> --
> The Matrix Insurrection
>
>
> "Adam Clauss" wrote:
>[color=green]
>> Same, except for .NET 1.1.4322 SP1
>>
>> (service pack 1)
>>
>> --
>> Adam Clauss
>>
>> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
>> message news:EBCD39BD-B8D9-4E70-AD15-6F71A1B3CB78@microsoft.com...[color=darkred]
>> > just to crosscheck my vs.net is the same version and environment as
>> > yours...mine is:
>> >
>> > Microsoft development environment 2003 Version 7.1.3088
>> > Copyright 1987-2002 Microsoft Corporation all rights reserved
>> >
>> > Microsoft .Net Framework 1.1 version 1.1.4322
>> > Copyright 1987-2002 Microsoft Corporation all rights reserved
>> >
>> > from the Help menu/about dialogue... are they the same or different?
>> >
>> > --
>> > The Matrix Insurrection
>> >
>> >
>> > "Adam Clauss" wrote:
>> >
>> >> No no - don't go to the bin directory and add the reference there.
>> >> Scroll
>> >> through the COM list for the "Microsoft Speech Object Library".
>> >>
>> >> --
>> >> Adam Clauss
>> >>
>> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
>> >> in
>> >> message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...
>> >> > Hi Adam, thatis what i did...i went to the add reference/com tab
>> >> > then
>> >> > browsed
>> >> > to the Bin directory to added the Interop.SpeechLib and the
>> >> > namespace
>> >> > in
>> >> > the
>> >> > file, when i build it i get build errors and when it prompts me in
>> >> > the
>> >> > dialogue box "if i want to continue" i click yes and then i get this
>> >> > error
>> >> > in
>> >> > a messagebox :
>> >> >
>> >> > Visual Studio cannot start debugging because the debug
>> >> > target'C:\Program
>> >> > Files\ Microsoft Speech SDK
>> >> > 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is
>> >> > missing.Please
>> >> > build
>> >> > the broject and retry.
>> >> >
>> >> > and that is all i get when i try to biuld/compile the project
>> >> > did you experience this ?
>> >> >
>> >> > --
>> >> > The Matrix Insurrection
>> >> >
>> >> >
>> >> > "Adam Clauss" wrote:
>> >> >
>> >> >> How did you actually go about adding the referecne? Went to Add
>> >> >> Reference,
>> >> >> COM tab, and selected the Microsoft Speech Object Library?
>> >> >>
>> >> >> --
>> >> >> Adam Clauss
>> >> >>
>> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
>> >> >> wrote
>> >> >> in
>> >> >> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...
>> >> >> > Hi Adam, below is my original problem which i found when trying
>> >> >> > to
>> >> >> > compile
>> >> >> > the simple TTS application which another person had an issue with
>> >> >> > as
>> >> >> > stated
>> >> >> > below by me:
>> >> >> >
>> >> >> >
>> >> >> > Hi found this article on a discussion group while i was searching
>> >> >> > on
>> >> >> > how
>> >> >> > to
>> >> >> > resolve exacly the same issue...so rather than repeating the
>> >> >> > writing i
>> >> >> > have
>> >> >> > pasted it below :
>> >> >> >
>> >> >> > {{{{{I am having some problem with the SimpleTTS for C# and
>> >> >> > Speech
>> >> >> > List
>> >> >> > Box
>> >> >> > for C
>> >> >> > # examples in the Microsoft Speech SDK 5.1. When I try to build
>> >> >> > the
>> >> >> > samples
>> >> >> > I get the following error:
>> >> >> >
>> >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The
>> >> >> > type
>> >> >> > or
>> >> >> > name
>> >> >> > space name 'SpeechLib' could not be found (are you missing a
>> >> >> > using
>> >> >> > directive
>> >> >> > or an assembly reference?)
>> >> >> >
>> >> >> > Then, in an attempt to add the reference - I add a reference to
>> >> >> > Interop.Spee
>> >> >> > chLib.dll, which is in the bin directory. However, after adding
>> >> >> > the
>> >> >> > referenc
>> >> >> > e I get the following error:
>> >> >> >
>> >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
>> >> >> > 'SimpleTTS.MainF
>> >> >> > orm.Dispose()' : cannot override inherited member
>> >> >> > 'System.ComponentModel.Com
>> >> >> > ponent.Dispose()' because it is not marked virtual, abstract, or
>> >> >> > override
>> >> >> >
>> >> >> >
>> >> >> > Any feedback would be appreciated,}}}}}}
>> >> >> >
>> >> >> > below is the full link to the above article in the discussion
>> >> >> > group
>> >> >> > i
>> >> >> > found
>> >> >> > it at and solutions from replying users but did not seem to work,
>> >> >> > the
>> >> >> > guy
>> >> >> > who
>> >> >> > posted it tried and i also tried!!!
>> >> >> >
>> >> >> > has anyone encountered this and had any luck??
>> >> >> > --
>> >> >> > The Matrix Insurrection
>> >> >> >
>> >> >> > --
>> >> >> > The Matrix Insurrection
>> >> >> >
>> >> >> >
>> >> >> > "Adam Clauss" wrote:
>> >> >> >
>> >> >> >> I'm currently using the SDK in a C# app (VS 2003). Having no
>> >> >> >> problems
>> >> >> >> at
>> >> >> >> all with it compiling, what error are you seeing?
>> >> >> >>
>> >> >> >> --
>> >> >> >> Adam Clauss
>> >> >> >>
>> >> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
>> >> >> >> wrote
>> >> >> >> in
>> >> >> >> message
>> >> >> >> news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
>> >> >> >> > Hi all, is there any one who have developed an application in
>> >> >> >> > c#
>> >> >> >> > using
>> >> >> >> > a
>> >> >> >> > text-speech engine using the Microsoft Speech SDK 5.1
>> >> >> >> > especially
>> >> >> >> > using
>> >> >> >> > visual
>> >> >> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling
>> >> >> >> > error
>> >> >> >> > and
>> >> >> >> > cant
>> >> >> >> > seem to resolve it! help!
>> >> >> >> > --
>> >> >> >> > The Matrix Insurrection
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>[/color]
>>
>>
>>[/color][/color]


ShadowOfTheBeast
Guest
 
Posts: n/a
#14: Nov 17 '05

re: Microsoft Speech SDK 5.1


http://www.mcse.ms/message552997.html

the above link is the exact same issue i have which this person pasted but i
followed the error message and suggested solution which someone replied it
did not work! so i am at a loss!
--
The Matrix Insurrection


"ShadowOfTheBeast" wrote:
[color=blue]
> o.k so which seervice pack are you using an earlier one? or a later one...
>
> also more specifically i get this error:
>
> C:\Program Files\Microsoft Speech SDK
> 5.1\Samples\CSharp\SimpleTTS\MainForm.cs(36): 'SimpleTTS.MainForm.Dispose()'
> : cannot override inherited member
> 'System.ComponentModel.Component.Dispose()' because it is not marked virtual,
> abstract, or override
>
> but i have checked using the object browser and the Base.Dispose()it is
> marked 'virtual' ..
> so why is this driving me nuts..and not working any further ideas..?
>
> --
> The Matrix Insurrection
>
>
> "Adam Clauss" wrote:
>[color=green]
> > Same, except for .NET 1.1.4322 SP1
> >
> > (service pack 1)
> >
> > --
> > Adam Clauss
> >
> > "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> > message news:EBCD39BD-B8D9-4E70-AD15-6F71A1B3CB78@microsoft.com...[color=darkred]
> > > just to crosscheck my vs.net is the same version and environment as
> > > yours...mine is:
> > >
> > > Microsoft development environment 2003 Version 7.1.3088
> > > Copyright 1987-2002 Microsoft Corporation all rights reserved
> > >
> > > Microsoft .Net Framework 1.1 version 1.1.4322
> > > Copyright 1987-2002 Microsoft Corporation all rights reserved
> > >
> > > from the Help menu/about dialogue... are they the same or different?
> > >
> > > --
> > > The Matrix Insurrection
> > >
> > >
> > > "Adam Clauss" wrote:
> > >
> > >> No no - don't go to the bin directory and add the reference there.
> > >> Scroll
> > >> through the COM list for the "Microsoft Speech Object Library".
> > >>
> > >> --
> > >> Adam Clauss
> > >>
> > >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> > >> message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...
> > >> > Hi Adam, thatis what i did...i went to the add reference/com tab then
> > >> > browsed
> > >> > to the Bin directory to added the Interop.SpeechLib and the namespace
> > >> > in
> > >> > the
> > >> > file, when i build it i get build errors and when it prompts me in the
> > >> > dialogue box "if i want to continue" i click yes and then i get this
> > >> > error
> > >> > in
> > >> > a messagebox :
> > >> >
> > >> > Visual Studio cannot start debugging because the debug
> > >> > target'C:\Program
> > >> > Files\ Microsoft Speech SDK
> > >> > 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is missing.Please
> > >> > build
> > >> > the broject and retry.
> > >> >
> > >> > and that is all i get when i try to biuld/compile the project
> > >> > did you experience this ?
> > >> >
> > >> > --
> > >> > The Matrix Insurrection
> > >> >
> > >> >
> > >> > "Adam Clauss" wrote:
> > >> >
> > >> >> How did you actually go about adding the referecne? Went to Add
> > >> >> Reference,
> > >> >> COM tab, and selected the Microsoft Speech Object Library?
> > >> >>
> > >> >> --
> > >> >> Adam Clauss
> > >> >>
> > >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
> > >> >> in
> > >> >> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...
> > >> >> > Hi Adam, below is my original problem which i found when trying to
> > >> >> > compile
> > >> >> > the simple TTS application which another person had an issue with as
> > >> >> > stated
> > >> >> > below by me:
> > >> >> >
> > >> >> >
> > >> >> > Hi found this article on a discussion group while i was searching on
> > >> >> > how
> > >> >> > to
> > >> >> > resolve exacly the same issue...so rather than repeating the
> > >> >> > writing i
> > >> >> > have
> > >> >> > pasted it below :
> > >> >> >
> > >> >> > {{{{{I am having some problem with the SimpleTTS for C# and Speech
> > >> >> > List
> > >> >> > Box
> > >> >> > for C
> > >> >> > # examples in the Microsoft Speech SDK 5.1. When I try to build the
> > >> >> > samples
> > >> >> > I get the following error:
> > >> >> >
> > >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The type
> > >> >> > or
> > >> >> > name
> > >> >> > space name 'SpeechLib' could not be found (are you missing a using
> > >> >> > directive
> > >> >> > or an assembly reference?)
> > >> >> >
> > >> >> > Then, in an attempt to add the reference - I add a reference to
> > >> >> > Interop.Spee
> > >> >> > chLib.dll, which is in the bin directory. However, after adding the
> > >> >> > referenc
> > >> >> > e I get the following error:
> > >> >> >
> > >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
> > >> >> > 'SimpleTTS.MainF
> > >> >> > orm.Dispose()' : cannot override inherited member
> > >> >> > 'System.ComponentModel.Com
> > >> >> > ponent.Dispose()' because it is not marked virtual, abstract, or
> > >> >> > override
> > >> >> >
> > >> >> >
> > >> >> > Any feedback would be appreciated,}}}}}}
> > >> >> >
> > >> >> > below is the full link to the above article in the discussion group
> > >> >> > i
> > >> >> > found
> > >> >> > it at and solutions from replying users but did not seem to work,
> > >> >> > the
> > >> >> > guy
> > >> >> > who
> > >> >> > posted it tried and i also tried!!!
> > >> >> >
> > >> >> > has anyone encountered this and had any luck??
> > >> >> > --
> > >> >> > The Matrix Insurrection
> > >> >> >
> > >> >> > --
> > >> >> > The Matrix Insurrection
> > >> >> >
> > >> >> >
> > >> >> > "Adam Clauss" wrote:
> > >> >> >
> > >> >> >> I'm currently using the SDK in a C# app (VS 2003). Having no
> > >> >> >> problems
> > >> >> >> at
> > >> >> >> all with it compiling, what error are you seeing?
> > >> >> >>
> > >> >> >> --
> > >> >> >> Adam Clauss
> > >> >> >>
> > >> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
> > >> >> >> wrote
> > >> >> >> in
> > >> >> >> message news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
> > >> >> >> > Hi all, is there any one who have developed an application in c#
> > >> >> >> > using
> > >> >> >> > a
> > >> >> >> > text-speech engine using the Microsoft Speech SDK 5.1 especially
> > >> >> >> > using
> > >> >> >> > visual
> > >> >> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling
> > >> >> >> > error
> > >> >> >> > and
> > >> >> >> > cant
> > >> >> >> > seem to resolve it! help!
> > >> >> >> > --
> > >> >> >> > The Matrix Insurrection
> > >> >> >>
> > >> >> >>
> > >> >> >>
> > >> >>
> > >> >>
> > >> >>
> > >>
> > >>
> > >>[/color]
> >
> >
> >[/color][/color]
ShadowOfTheBeast
Guest
 
Posts: n/a
#15: Nov 17 '05

re: Microsoft Speech SDK 5.1


Hi Adam thanks very much it worked!!!!
could you briefly explain to me how you solved it be adding the extra
code...i would really like to know , exactly how you can to that comclussion
please cheers!!!--
The Matrix Insurrection


"Adam Clauss" wrote:
[color=blue]
> I have a service pack 1 for .NET 1.1, you do not. You probably should get
> it (though I do not think it is related to this error). WindowsUpdate will
> have it listed.
>
> Look at my earlier post, see if that fixes it:
> <snip>
> OK... find that line where Dispose is declared...
> replace that method with:
> protected override void Dispose(bool disposing)
> {
> base.Dispose(disposing);
> if (components != null)
> components.Dispose();
> }
>
>
> Now that I think back, I actually think I had the same problem - it isn't
> actually a problem with the speechlib at all, just a change that was made in
> Dispose. (AKA - you could create your own app, add a reference to SpeechLib
> and it would work fine). This change should fix the SimpleTTS app though.
>
> --
> Adam Clauss
> </snip>
>
> --
> Adam Clauss
>
> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> message news:CEBF31CE-1BBD-44A3-BD49-CB545A56FE57@microsoft.com...[color=green]
> > o.k so which seervice pack are you using an earlier one? or a later one...
> >
> > also more specifically i get this error:
> >
> > C:\Program Files\Microsoft Speech SDK
> > 5.1\Samples\CSharp\SimpleTTS\MainForm.cs(36):
> > 'SimpleTTS.MainForm.Dispose()'
> > : cannot override inherited member
> > 'System.ComponentModel.Component.Dispose()' because it is not marked
> > virtual,
> > abstract, or override
> >
> > but i have checked using the object browser and the Base.Dispose()it is
> > marked 'virtual' ..
> > so why is this driving me nuts..and not working any further ideas..?
> >
> > --
> > The Matrix Insurrection
> >
> >
> > "Adam Clauss" wrote:
> >[color=darkred]
> >> Same, except for .NET 1.1.4322 SP1
> >>
> >> (service pack 1)
> >>
> >> --
> >> Adam Clauss
> >>
> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> >> message news:EBCD39BD-B8D9-4E70-AD15-6F71A1B3CB78@microsoft.com...
> >> > just to crosscheck my vs.net is the same version and environment as
> >> > yours...mine is:
> >> >
> >> > Microsoft development environment 2003 Version 7.1.3088
> >> > Copyright 1987-2002 Microsoft Corporation all rights reserved
> >> >
> >> > Microsoft .Net Framework 1.1 version 1.1.4322
> >> > Copyright 1987-2002 Microsoft Corporation all rights reserved
> >> >
> >> > from the Help menu/about dialogue... are they the same or different?
> >> >
> >> > --
> >> > The Matrix Insurrection
> >> >
> >> >
> >> > "Adam Clauss" wrote:
> >> >
> >> >> No no - don't go to the bin directory and add the reference there.
> >> >> Scroll
> >> >> through the COM list for the "Microsoft Speech Object Library".
> >> >>
> >> >> --
> >> >> Adam Clauss
> >> >>
> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
> >> >> in
> >> >> message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...
> >> >> > Hi Adam, thatis what i did...i went to the add reference/com tab
> >> >> > then
> >> >> > browsed
> >> >> > to the Bin directory to added the Interop.SpeechLib and the
> >> >> > namespace
> >> >> > in
> >> >> > the
> >> >> > file, when i build it i get build errors and when it prompts me in
> >> >> > the
> >> >> > dialogue box "if i want to continue" i click yes and then i get this
> >> >> > error
> >> >> > in
> >> >> > a messagebox :
> >> >> >
> >> >> > Visual Studio cannot start debugging because the debug
> >> >> > target'C:\Program
> >> >> > Files\ Microsoft Speech SDK
> >> >> > 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is
> >> >> > missing.Please
> >> >> > build
> >> >> > the broject and retry.
> >> >> >
> >> >> > and that is all i get when i try to biuld/compile the project
> >> >> > did you experience this ?
> >> >> >
> >> >> > --
> >> >> > The Matrix Insurrection
> >> >> >
> >> >> >
> >> >> > "Adam Clauss" wrote:
> >> >> >
> >> >> >> How did you actually go about adding the referecne? Went to Add
> >> >> >> Reference,
> >> >> >> COM tab, and selected the Microsoft Speech Object Library?
> >> >> >>
> >> >> >> --
> >> >> >> Adam Clauss
> >> >> >>
> >> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
> >> >> >> wrote
> >> >> >> in
> >> >> >> message news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...
> >> >> >> > Hi Adam, below is my original problem which i found when trying
> >> >> >> > to
> >> >> >> > compile
> >> >> >> > the simple TTS application which another person had an issue with
> >> >> >> > as
> >> >> >> > stated
> >> >> >> > below by me:
> >> >> >> >
> >> >> >> >
> >> >> >> > Hi found this article on a discussion group while i was searching
> >> >> >> > on
> >> >> >> > how
> >> >> >> > to
> >> >> >> > resolve exacly the same issue...so rather than repeating the
> >> >> >> > writing i
> >> >> >> > have
> >> >> >> > pasted it below :
> >> >> >> >
> >> >> >> > {{{{{I am having some problem with the SimpleTTS for C# and
> >> >> >> > Speech
> >> >> >> > List
> >> >> >> > Box
> >> >> >> > for C
> >> >> >> > # examples in the Microsoft Speech SDK 5.1. When I try to build
> >> >> >> > the
> >> >> >> > samples
> >> >> >> > I get the following error:
> >> >> >> >
> >> >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12): The
> >> >> >> > type
> >> >> >> > or
> >> >> >> > name
> >> >> >> > space name 'SpeechLib' could not be found (are you missing a
> >> >> >> > using
> >> >> >> > directive
> >> >> >> > or an assembly reference?)
> >> >> >> >
> >> >> >> > Then, in an attempt to add the reference - I add a reference to
> >> >> >> > Interop.Spee
> >> >> >> > chLib.dll, which is in the bin directory. However, after adding
> >> >> >> > the
> >> >> >> > referenc
> >> >> >> > e I get the following error:
> >> >> >> >
> >> >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
> >> >> >> > 'SimpleTTS.MainF
> >> >> >> > orm.Dispose()' : cannot override inherited member
> >> >> >> > 'System.ComponentModel.Com
> >> >> >> > ponent.Dispose()' because it is not marked virtual, abstract, or
> >> >> >> > override
> >> >> >> >
> >> >> >> >
> >> >> >> > Any feedback would be appreciated,}}}}}}
> >> >> >> >
> >> >> >> > below is the full link to the above article in the discussion
> >> >> >> > group
> >> >> >> > i
> >> >> >> > found
> >> >> >> > it at and solutions from replying users but did not seem to work,
> >> >> >> > the
> >> >> >> > guy
> >> >> >> > who
> >> >> >> > posted it tried and i also tried!!!
> >> >> >> >
> >> >> >> > has anyone encountered this and had any luck??
> >> >> >> > --
> >> >> >> > The Matrix Insurrection
> >> >> >> >
> >> >> >> > --
> >> >> >> > The Matrix Insurrection
> >> >> >> >
> >> >> >> >
> >> >> >> > "Adam Clauss" wrote:
> >> >> >> >
> >> >> >> >> I'm currently using the SDK in a C# app (VS 2003). Having no
> >> >> >> >> problems
> >> >> >> >> at
> >> >> >> >> all with it compiling, what error are you seeing?
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> Adam Clauss
> >> >> >> >>
> >> >> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
> >> >> >> >> wrote
> >> >> >> >> in
> >> >> >> >> message
> >> >> >> >> news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
> >> >> >> >> > Hi all, is there any one who have developed an application in
> >> >> >> >> > c#
> >> >> >> >> > using
> >> >> >> >> > a
> >> >> >> >> > text-speech engine using the Microsoft Speech SDK 5.1
> >> >> >> >> > especially
> >> >> >> >> > using
> >> >> >> >> > visual
> >> >> >> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op compiling
> >> >> >> >> > error
> >> >> >> >> > and
> >> >> >> >> > cant
> >> >> >> >> > seem to resolve it! help!
> >> >> >> >> > --
> >> >> >> >> > The Matrix Insurrection
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>
> >>
> >>[/color][/color]
>
>
>[/color]
Adam Clauss
Guest
 
Posts: n/a
#16: Nov 17 '05

re: Microsoft Speech SDK 5.1


Well, I had to stop trying to think of the problem in terms of speech SDK
first, cause the error itself has nothing to do with it.

I am assuming at some point the Dispose method underwent a change (possibly
in .NET 1.0 -> .NET 1.1?). This sample was just not updated accordingly,
and thus the error. As to how I actually fixed it, if I recall correctly,
the original code was trying to override Dispose() (no parameters) right? I
think the documentation for that method is actually wrong - it is NOT
virtual.

Now, if you type in "override" in the code, VS will popup a list of all the
methods that you can choose from to override. On that list is only the
dispose that takes a bool parameter. Switched to that one, and *poof* it
works.
Note: If you have the method already overriden, it will not appear in the
list.

--
Adam Clauss

"ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
message news:5E2EE423-C10B-4186-B5E0-82389CBC8739@microsoft.com...[color=blue]
> Hi Adam thanks very much it worked!!!!
> could you briefly explain to me how you solved it be adding the extra
> code...i would really like to know , exactly how you can to that
> comclussion
> please cheers!!!--
> The Matrix Insurrection
>
>
> "Adam Clauss" wrote:
>[color=green]
>> I have a service pack 1 for .NET 1.1, you do not. You probably should
>> get
>> it (though I do not think it is related to this error). WindowsUpdate
>> will
>> have it listed.
>>
>> Look at my earlier post, see if that fixes it:
>> <snip>
>> OK... find that line where Dispose is declared...
>> replace that method with:
>> protected override void Dispose(bool disposing)
>> {
>> base.Dispose(disposing);
>> if (components != null)
>> components.Dispose();
>> }
>>
>>
>> Now that I think back, I actually think I had the same problem - it isn't
>> actually a problem with the speechlib at all, just a change that was made
>> in
>> Dispose. (AKA - you could create your own app, add a reference to
>> SpeechLib
>> and it would work fine). This change should fix the SimpleTTS app
>> though.
>>
>> --
>> Adam Clauss
>> </snip>
>>
>> --
>> Adam Clauss
>>
>> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
>> message news:CEBF31CE-1BBD-44A3-BD49-CB545A56FE57@microsoft.com...[color=darkred]
>> > o.k so which seervice pack are you using an earlier one? or a later
>> > one...
>> >
>> > also more specifically i get this error:
>> >
>> > C:\Program Files\Microsoft Speech SDK
>> > 5.1\Samples\CSharp\SimpleTTS\MainForm.cs(36):
>> > 'SimpleTTS.MainForm.Dispose()'
>> > : cannot override inherited member
>> > 'System.ComponentModel.Component.Dispose()' because it is not marked
>> > virtual,
>> > abstract, or override
>> >
>> > but i have checked using the object browser and the Base.Dispose()it is
>> > marked 'virtual' ..
>> > so why is this driving me nuts..and not working any further ideas..?
>> >
>> > --
>> > The Matrix Insurrection
>> >
>> >
>> > "Adam Clauss" wrote:
>> >
>> >> Same, except for .NET 1.1.4322 SP1
>> >>
>> >> (service pack 1)
>> >>
>> >> --
>> >> Adam Clauss
>> >>
>> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
>> >> in
>> >> message news:EBCD39BD-B8D9-4E70-AD15-6F71A1B3CB78@microsoft.com...
>> >> > just to crosscheck my vs.net is the same version and environment as
>> >> > yours...mine is:
>> >> >
>> >> > Microsoft development environment 2003 Version 7.1.3088
>> >> > Copyright 1987-2002 Microsoft Corporation all rights reserved
>> >> >
>> >> > Microsoft .Net Framework 1.1 version 1.1.4322
>> >> > Copyright 1987-2002 Microsoft Corporation all rights reserved
>> >> >
>> >> > from the Help menu/about dialogue... are they the same or different?
>> >> >
>> >> > --
>> >> > The Matrix Insurrection
>> >> >
>> >> >
>> >> > "Adam Clauss" wrote:
>> >> >
>> >> >> No no - don't go to the bin directory and add the reference there.
>> >> >> Scroll
>> >> >> through the COM list for the "Microsoft Speech Object Library".
>> >> >>
>> >> >> --
>> >> >> Adam Clauss
>> >> >>
>> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
>> >> >> wrote
>> >> >> in
>> >> >> message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...
>> >> >> > Hi Adam, thatis what i did...i went to the add reference/com tab
>> >> >> > then
>> >> >> > browsed
>> >> >> > to the Bin directory to added the Interop.SpeechLib and the
>> >> >> > namespace
>> >> >> > in
>> >> >> > the
>> >> >> > file, when i build it i get build errors and when it prompts me
>> >> >> > in
>> >> >> > the
>> >> >> > dialogue box "if i want to continue" i click yes and then i get
>> >> >> > this
>> >> >> > error
>> >> >> > in
>> >> >> > a messagebox :
>> >> >> >
>> >> >> > Visual Studio cannot start debugging because the debug
>> >> >> > target'C:\Program
>> >> >> > Files\ Microsoft Speech SDK
>> >> >> > 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is
>> >> >> > missing.Please
>> >> >> > build
>> >> >> > the broject and retry.
>> >> >> >
>> >> >> > and that is all i get when i try to biuld/compile the project
>> >> >> > did you experience this ?
>> >> >> >
>> >> >> > --
>> >> >> > The Matrix Insurrection
>> >> >> >
>> >> >> >
>> >> >> > "Adam Clauss" wrote:
>> >> >> >
>> >> >> >> How did you actually go about adding the referecne? Went to Add
>> >> >> >> Reference,
>> >> >> >> COM tab, and selected the Microsoft Speech Object Library?
>> >> >> >>
>> >> >> >> --
>> >> >> >> Adam Clauss
>> >> >> >>
>> >> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
>> >> >> >> wrote
>> >> >> >> in
>> >> >> >> message
>> >> >> >> news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...
>> >> >> >> > Hi Adam, below is my original problem which i found when
>> >> >> >> > trying
>> >> >> >> > to
>> >> >> >> > compile
>> >> >> >> > the simple TTS application which another person had an issue
>> >> >> >> > with
>> >> >> >> > as
>> >> >> >> > stated
>> >> >> >> > below by me:
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Hi found this article on a discussion group while i was
>> >> >> >> > searching
>> >> >> >> > on
>> >> >> >> > how
>> >> >> >> > to
>> >> >> >> > resolve exacly the same issue...so rather than repeating the
>> >> >> >> > writing i
>> >> >> >> > have
>> >> >> >> > pasted it below :
>> >> >> >> >
>> >> >> >> > {{{{{I am having some problem with the SimpleTTS for C# and
>> >> >> >> > Speech
>> >> >> >> > List
>> >> >> >> > Box
>> >> >> >> > for C
>> >> >> >> > # examples in the Microsoft Speech SDK 5.1. When I try to
>> >> >> >> > build
>> >> >> >> > the
>> >> >> >> > samples
>> >> >> >> > I get the following error:
>> >> >> >> >
>> >> >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12):
>> >> >> >> > The
>> >> >> >> > type
>> >> >> >> > or
>> >> >> >> > name
>> >> >> >> > space name 'SpeechLib' could not be found (are you missing a
>> >> >> >> > using
>> >> >> >> > directive
>> >> >> >> > or an assembly reference?)
>> >> >> >> >
>> >> >> >> > Then, in an attempt to add the reference - I add a reference
>> >> >> >> > to
>> >> >> >> > Interop.Spee
>> >> >> >> > chLib.dll, which is in the bin directory. However, after
>> >> >> >> > adding
>> >> >> >> > the
>> >> >> >> > referenc
>> >> >> >> > e I get the following error:
>> >> >> >> >
>> >> >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
>> >> >> >> > 'SimpleTTS.MainF
>> >> >> >> > orm.Dispose()' : cannot override inherited member
>> >> >> >> > 'System.ComponentModel.Com
>> >> >> >> > ponent.Dispose()' because it is not marked virtual, abstract,
>> >> >> >> > or
>> >> >> >> > override
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > Any feedback would be appreciated,}}}}}}
>> >> >> >> >
>> >> >> >> > below is the full link to the above article in the discussion
>> >> >> >> > group
>> >> >> >> > i
>> >> >> >> > found
>> >> >> >> > it at and solutions from replying users but did not seem to
>> >> >> >> > work,
>> >> >> >> > the
>> >> >> >> > guy
>> >> >> >> > who
>> >> >> >> > posted it tried and i also tried!!!
>> >> >> >> >
>> >> >> >> > has anyone encountered this and had any luck??
>> >> >> >> > --
>> >> >> >> > The Matrix Insurrection
>> >> >> >> >
>> >> >> >> > --
>> >> >> >> > The Matrix Insurrection
>> >> >> >> >
>> >> >> >> >
>> >> >> >> > "Adam Clauss" wrote:
>> >> >> >> >
>> >> >> >> >> I'm currently using the SDK in a C# app (VS 2003). Having no
>> >> >> >> >> problems
>> >> >> >> >> at
>> >> >> >> >> all with it compiling, what error are you seeing?
>> >> >> >> >>
>> >> >> >> >> --
>> >> >> >> >> Adam Clauss
>> >> >> >> >>
>> >> >> >> >> "ShadowOfTheBeast"
>> >> >> >> >> <ShadowOfTheBeast@discussions.microsoft.com>
>> >> >> >> >> wrote
>> >> >> >> >> in
>> >> >> >> >> message
>> >> >> >> >> news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
>> >> >> >> >> > Hi all, is there any one who have developed an application
>> >> >> >> >> > in
>> >> >> >> >> > c#
>> >> >> >> >> > using
>> >> >> >> >> > a
>> >> >> >> >> > text-speech engine using the Microsoft Speech SDK 5.1
>> >> >> >> >> > especially
>> >> >> >> >> > using
>> >> >> >> >> > visual
>> >> >> >> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op
>> >> >> >> >> > compiling
>> >> >> >> >> > error
>> >> >> >> >> > and
>> >> >> >> >> > cant
>> >> >> >> >> > seem to resolve it! help!
>> >> >> >> >> > --
>> >> >> >> >> > The Matrix Insurrection
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >> >>
>> >> >>
>> >> >>
>> >> >>
>> >>
>> >>
>> >>[/color]
>>
>>
>>[/color][/color]


ShadowOfTheBeast
Guest
 
Posts: n/a
#17: Nov 17 '05

re: Microsoft Speech SDK 5.1


Thank you so much!!! I really appreciate
--
The Matrix Insurrection


"Adam Clauss" wrote:
[color=blue]
> Well, I had to stop trying to think of the problem in terms of speech SDK
> first, cause the error itself has nothing to do with it.
>
> I am assuming at some point the Dispose method underwent a change (possibly
> in .NET 1.0 -> .NET 1.1?). This sample was just not updated accordingly,
> and thus the error. As to how I actually fixed it, if I recall correctly,
> the original code was trying to override Dispose() (no parameters) right? I
> think the documentation for that method is actually wrong - it is NOT
> virtual.
>
> Now, if you type in "override" in the code, VS will popup a list of all the
> methods that you can choose from to override. On that list is only the
> dispose that takes a bool parameter. Switched to that one, and *poof* it
> works.
> Note: If you have the method already overriden, it will not appear in the
> list.
>
> --
> Adam Clauss
>
> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> message news:5E2EE423-C10B-4186-B5E0-82389CBC8739@microsoft.com...[color=green]
> > Hi Adam thanks very much it worked!!!!
> > could you briefly explain to me how you solved it be adding the extra
> > code...i would really like to know , exactly how you can to that
> > comclussion
> > please cheers!!!--
> > The Matrix Insurrection
> >
> >
> > "Adam Clauss" wrote:
> >[color=darkred]
> >> I have a service pack 1 for .NET 1.1, you do not. You probably should
> >> get
> >> it (though I do not think it is related to this error). WindowsUpdate
> >> will
> >> have it listed.
> >>
> >> Look at my earlier post, see if that fixes it:
> >> <snip>
> >> OK... find that line where Dispose is declared...
> >> replace that method with:
> >> protected override void Dispose(bool disposing)
> >> {
> >> base.Dispose(disposing);
> >> if (components != null)
> >> components.Dispose();
> >> }
> >>
> >>
> >> Now that I think back, I actually think I had the same problem - it isn't
> >> actually a problem with the speechlib at all, just a change that was made
> >> in
> >> Dispose. (AKA - you could create your own app, add a reference to
> >> SpeechLib
> >> and it would work fine). This change should fix the SimpleTTS app
> >> though.
> >>
> >> --
> >> Adam Clauss
> >> </snip>
> >>
> >> --
> >> Adam Clauss
> >>
> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote in
> >> message news:CEBF31CE-1BBD-44A3-BD49-CB545A56FE57@microsoft.com...
> >> > o.k so which seervice pack are you using an earlier one? or a later
> >> > one...
> >> >
> >> > also more specifically i get this error:
> >> >
> >> > C:\Program Files\Microsoft Speech SDK
> >> > 5.1\Samples\CSharp\SimpleTTS\MainForm.cs(36):
> >> > 'SimpleTTS.MainForm.Dispose()'
> >> > : cannot override inherited member
> >> > 'System.ComponentModel.Component.Dispose()' because it is not marked
> >> > virtual,
> >> > abstract, or override
> >> >
> >> > but i have checked using the object browser and the Base.Dispose()it is
> >> > marked 'virtual' ..
> >> > so why is this driving me nuts..and not working any further ideas..?
> >> >
> >> > --
> >> > The Matrix Insurrection
> >> >
> >> >
> >> > "Adam Clauss" wrote:
> >> >
> >> >> Same, except for .NET 1.1.4322 SP1
> >> >>
> >> >> (service pack 1)
> >> >>
> >> >> --
> >> >> Adam Clauss
> >> >>
> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com> wrote
> >> >> in
> >> >> message news:EBCD39BD-B8D9-4E70-AD15-6F71A1B3CB78@microsoft.com...
> >> >> > just to crosscheck my vs.net is the same version and environment as
> >> >> > yours...mine is:
> >> >> >
> >> >> > Microsoft development environment 2003 Version 7.1.3088
> >> >> > Copyright 1987-2002 Microsoft Corporation all rights reserved
> >> >> >
> >> >> > Microsoft .Net Framework 1.1 version 1.1.4322
> >> >> > Copyright 1987-2002 Microsoft Corporation all rights reserved
> >> >> >
> >> >> > from the Help menu/about dialogue... are they the same or different?
> >> >> >
> >> >> > --
> >> >> > The Matrix Insurrection
> >> >> >
> >> >> >
> >> >> > "Adam Clauss" wrote:
> >> >> >
> >> >> >> No no - don't go to the bin directory and add the reference there.
> >> >> >> Scroll
> >> >> >> through the COM list for the "Microsoft Speech Object Library".
> >> >> >>
> >> >> >> --
> >> >> >> Adam Clauss
> >> >> >>
> >> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
> >> >> >> wrote
> >> >> >> in
> >> >> >> message news:07589CBC-FE3D-4EC7-AB9D-D1EADF44083D@microsoft.com...
> >> >> >> > Hi Adam, thatis what i did...i went to the add reference/com tab
> >> >> >> > then
> >> >> >> > browsed
> >> >> >> > to the Bin directory to added the Interop.SpeechLib and the
> >> >> >> > namespace
> >> >> >> > in
> >> >> >> > the
> >> >> >> > file, when i build it i get build errors and when it prompts me
> >> >> >> > in
> >> >> >> > the
> >> >> >> > dialogue box "if i want to continue" i click yes and then i get
> >> >> >> > this
> >> >> >> > error
> >> >> >> > in
> >> >> >> > a messagebox :
> >> >> >> >
> >> >> >> > Visual Studio cannot start debugging because the debug
> >> >> >> > target'C:\Program
> >> >> >> > Files\ Microsoft Speech SDK
> >> >> >> > 5.1\Samples\Csharp\SimpleTTS\bin\Debug\SimpleTTS.e xe' is
> >> >> >> > missing.Please
> >> >> >> > build
> >> >> >> > the broject and retry.
> >> >> >> >
> >> >> >> > and that is all i get when i try to biuld/compile the project
> >> >> >> > did you experience this ?
> >> >> >> >
> >> >> >> > --
> >> >> >> > The Matrix Insurrection
> >> >> >> >
> >> >> >> >
> >> >> >> > "Adam Clauss" wrote:
> >> >> >> >
> >> >> >> >> How did you actually go about adding the referecne? Went to Add
> >> >> >> >> Reference,
> >> >> >> >> COM tab, and selected the Microsoft Speech Object Library?
> >> >> >> >>
> >> >> >> >> --
> >> >> >> >> Adam Clauss
> >> >> >> >>
> >> >> >> >> "ShadowOfTheBeast" <ShadowOfTheBeast@discussions.microsoft.com>
> >> >> >> >> wrote
> >> >> >> >> in
> >> >> >> >> message
> >> >> >> >> news:EACD60FC-3CF2-4F96-8D3A-94CB81A9518B@microsoft.com...
> >> >> >> >> > Hi Adam, below is my original problem which i found when
> >> >> >> >> > trying
> >> >> >> >> > to
> >> >> >> >> > compile
> >> >> >> >> > the simple TTS application which another person had an issue
> >> >> >> >> > with
> >> >> >> >> > as
> >> >> >> >> > stated
> >> >> >> >> > below by me:
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > Hi found this article on a discussion group while i was
> >> >> >> >> > searching
> >> >> >> >> > on
> >> >> >> >> > how
> >> >> >> >> > to
> >> >> >> >> > resolve exacly the same issue...so rather than repeating the
> >> >> >> >> > writing i
> >> >> >> >> > have
> >> >> >> >> > pasted it below :
> >> >> >> >> >
> >> >> >> >> > {{{{{I am having some problem with the SimpleTTS for C# and
> >> >> >> >> > Speech
> >> >> >> >> > List
> >> >> >> >> > Box
> >> >> >> >> > for C
> >> >> >> >> > # examples in the Microsoft Speech SDK 5.1. When I try to
> >> >> >> >> > build
> >> >> >> >> > the
> >> >> >> >> > samples
> >> >> >> >> > I get the following error:
> >> >> >> >> >
> >> >> >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(12):
> >> >> >> >> > The
> >> >> >> >> > type
> >> >> >> >> > or
> >> >> >> >> > name
> >> >> >> >> > space name 'SpeechLib' could not be found (are you missing a
> >> >> >> >> > using
> >> >> >> >> > directive
> >> >> >> >> > or an assembly reference?)
> >> >> >> >> >
> >> >> >> >> > Then, in an attempt to add the reference - I add a reference
> >> >> >> >> > to
> >> >> >> >> > Interop.Spee
> >> >> >> >> > chLib.dll, which is in the bin directory. However, after
> >> >> >> >> > adding
> >> >> >> >> > the
> >> >> >> >> > referenc
> >> >> >> >> > e I get the following error:
> >> >> >> >> >
> >> >> >> >> > F:\Visual Studio Projects\CSharp\SimpleTTS\MainForm.cs(36):
> >> >> >> >> > 'SimpleTTS.MainF
> >> >> >> >> > orm.Dispose()' : cannot override inherited member
> >> >> >> >> > 'System.ComponentModel.Com
> >> >> >> >> > ponent.Dispose()' because it is not marked virtual, abstract,
> >> >> >> >> > or
> >> >> >> >> > override
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > Any feedback would be appreciated,}}}}}}
> >> >> >> >> >
> >> >> >> >> > below is the full link to the above article in the discussion
> >> >> >> >> > group
> >> >> >> >> > i
> >> >> >> >> > found
> >> >> >> >> > it at and solutions from replying users but did not seem to
> >> >> >> >> > work,
> >> >> >> >> > the
> >> >> >> >> > guy
> >> >> >> >> > who
> >> >> >> >> > posted it tried and i also tried!!!
> >> >> >> >> >
> >> >> >> >> > has anyone encountered this and had any luck??
> >> >> >> >> > --
> >> >> >> >> > The Matrix Insurrection
> >> >> >> >> >
> >> >> >> >> > --
> >> >> >> >> > The Matrix Insurrection
> >> >> >> >> >
> >> >> >> >> >
> >> >> >> >> > "Adam Clauss" wrote:
> >> >> >> >> >
> >> >> >> >> >> I'm currently using the SDK in a C# app (VS 2003). Having no
> >> >> >> >> >> problems
> >> >> >> >> >> at
> >> >> >> >> >> all with it compiling, what error are you seeing?
> >> >> >> >> >>
> >> >> >> >> >> --
> >> >> >> >> >> Adam Clauss
> >> >> >> >> >>
> >> >> >> >> >> "ShadowOfTheBeast"
> >> >> >> >> >> <ShadowOfTheBeast@discussions.microsoft.com>
> >> >> >> >> >> wrote
> >> >> >> >> >> in
> >> >> >> >> >> message
> >> >> >> >> >> news:77B86F0E-9A3E-48CE-9B47-E463D0FC33D7@microsoft.com...
> >> >> >> >> >> > Hi all, is there any one who have developed an application
> >> >> >> >> >> > in
> >> >> >> >> >> > c#
> >> >> >> >> >> > using
> >> >> >> >> >> > a
> >> >> >> >> >> > text-speech engine using the Microsoft Speech SDK 5.1
> >> >> >> >> >> > especially
> >> >> >> >> >> > using
> >> >> >> >> >> > visual
> >> >> >> >> >> > studio.net IDE 2003 (v7.1) I seem to get an inter-op
> >> >> >> >> >> > compiling
> >> >> >> >> >> > error
> >> >> >> >> >> > and
> >> >> >> >> >> > cant
> >> >> >> >> >> > seem to resolve it! help!
> >> >> >> >> >> > --
> >> >> >> >> >> > The Matrix Insurrection
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >> >>
> >> >> >>
> >> >> >>
> >> >> >>
> >> >>
> >> >>
> >> >>
> >>[/color][/color][/color]
Closed Thread