G Guest Dec 22, 2003 #1 Just wondering if there is a way to use agent in the codebehind versus using it in the client-side script.
Just wondering if there is a way to use agent in the codebehind versus using it in the client-side script.
K Ken Cox [Microsoft MVP] Dec 23, 2003 #2 Hi Dave, When used inside the browser, the Agent control only communicates with client-side script. For example, the HTML code needs to include the HTML <OBJECT> tag and Microsoft CLSID (class identifier) for the control http://www.devarticles.com/c/a/C_Sharp/Working_With_Speech_Using_the_MSAgent_in_C_sharp/1/ However, you can use server-side code to build and output the client-side script. Here's an article on doing that: http://www.fawcette.com/vsm/2002_07/magazine/columns/aspnet/
Hi Dave, When used inside the browser, the Agent control only communicates with client-side script. For example, the HTML code needs to include the HTML <OBJECT> tag and Microsoft CLSID (class identifier) for the control http://www.devarticles.com/c/a/C_Sharp/Working_With_Speech_Using_the_MSAgent_in_C_sharp/1/ However, you can use server-side code to build and output the client-side script. Here's an article on doing that: http://www.fawcette.com/vsm/2002_07/magazine/columns/aspnet/