Discussion:
Porting XP program to Vista
(too old to reply)
cjreynolds
2009-10-02 22:56:08 UTC
Permalink
I have a speech-controlled program written in VB6 for XP. So what do I have
to do to make this program work w/SAPI 5.3?

My main questions are:

How do I pull the SAPI 5.3 objects into the project - do I need to run VB in
Vista to do that?

Can SAPI 5.3 be used in the same project as SAPI 5.1, detecting the OS
version and using the appropriate SAPI, or will I need to write a Vista app
and an XP app?

Will I be able to use my old grammar files written in basic XML? ie:

*******************************************************************************

<GRAMMAR LANGID="409">

<RULE NAME="ok" TOPLEVEL="ACTIVE">
<P>Merlin OK</P>
</RULE>

<RULE NAME="apply" TOPLEVEL="ACTIVE">
<P>Merlin Apply ?Changes</P>
</RULE>

<RULE NAME="cancel" TOPLEVEL="ACTIVE">
<P>Merlin Cancel ?Changes</P>
</RULE>


</GRAMMAR>

************************************************************

And is there anything else I need to do or watch out for?

Thanks,
cjreynolds
2009-10-08 21:37:01 UTC
Permalink
Well... RTFM - A glance in the vista help screens set me straight - Project
works fine in Vista and XP with no modifications needed.

Life is Good.

joe
Post by cjreynolds
I have a speech-controlled program written in VB6 for XP. So what do I have
to do to make this program work w/SAPI 5.3?
How do I pull the SAPI 5.3 objects into the project - do I need to run VB in
Vista to do that?
Can SAPI 5.3 be used in the same project as SAPI 5.1, detecting the OS
version and using the appropriate SAPI, or will I need to write a Vista app
and an XP app?
*******************************************************************************
<GRAMMAR LANGID="409">
<RULE NAME="ok" TOPLEVEL="ACTIVE">
<P>Merlin OK</P>
</RULE>
<RULE NAME="apply" TOPLEVEL="ACTIVE">
<P>Merlin Apply ?Changes</P>
</RULE>
<RULE NAME="cancel" TOPLEVEL="ACTIVE">
<P>Merlin Cancel ?Changes</P>
</RULE>
</GRAMMAR>
************************************************************
And is there anything else I need to do or watch out for?
Thanks,
Loading...