|
it is possible to control the operating system by voice command.... because one of our senior brother has already done it... but now he is out of network.... if you know please give idea about the process...
|
|
|
|
|
Obvious, since you've seen it done already, it is possible.
It requires writing a lot of code for each of those things you want it to do.
|
|
|
|
|
Basudevkuet wrote: it is possible to control the operating system by voice command
Correct, for example the API that Microsoft provides with Vista / Windows 7 that I suggested does this, it is available for you to use in your code.
Basudevkuet wrote: because one of our senior brother has already done it
Perhaps heHe almost definately used an API.
Now I realise this is a hard concept to grasp, buy as a developer, I assume you'll understand the following:
Possible != Easy.
Practical voice commanding certainly falls under the "fantastically hard" category, which is why people use the 3rd party APIs (like the Microsoft one I suggested). It is also why none of the APIs work perfectly.
Basudevkuet wrote: if you know please give idea about the process
The process is as follows:
- Look at the wikipedia entry on my original post
- Google for SAPI 5.3
- Research and use SAPI to provide the functrionality you want
- If you then have specific problems, come back here and post a question following the guidelines
If you make a decent stab at steps 1-3, you are unlikely to get flamed here at step 4.
Cpianism: I have a negative number in my Rep so please fix it.
Chris Maunder: That isn't a bug.
|
|
|
|
|
Basudevkuet wrote:
how i will start.... give starting source code
using System;
public static void Main(string[] args)
{
Console.WriteLine("Hello World!");
}
.45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
|
If you don't even know that, than you are truly lost.
"I love deadlines. I like the whooshing sound they make as they fly by." (DNA)
|
|
|
|
|
Basudevkuet wrote: what is this
It's what you asked for... starting source code.
Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns
Help humanity, join the CodeProject grid computing team here
|
|
|
|
|
Apparently, some folks don't appreciate the irony....45 ACP - because shooting twice is just silly ----- "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997 ----- "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001
|
|
|
|
|
John Simmons / outlaw programmer wrote: some folks don't appreciate the irony
Now John... let's be a little bit reasonable here.... after all with the economy the way it is, most people can't afford to buy a clue.... Why is common sense not common?
Never argue with an idiot. They will drag you down to their level where they are an expert.
Sometimes it takes a lot of work to be lazy
Individuality is fine, as long as we do it together - F. Burns
Help humanity, join the CodeProject grid computing team here
|
|
|
|
|
hi ppl ,
I am using Ent Lib for validation in my windows forms application. I have a set of comboboxes which are bound to a datasource. When the selectd value is null the validations happens on it. but when I select a item from the dropdown , I am getting a validation error as "The supplid value could not be converted to the target property type".
I have defined a "Not Null Validator" for the combobox selected value in the enterprise library validation.
Help would be appreciated.
Thanks
|
|
|
|
|
|
Hi All,
A bit of background on what and why I am trying to do this. I have a 3rd party c# component embedded in my form. The component controls the cursor when the mouse is over it. I can set different cursors for the component when I initialise it but they must be mono-chrome as this is all it can handle. The component also does not process right-click menu clicks, but I have managed to circumvent this using a mouse and keyboard hook to process these actions.
Ideally what I would like to do is something similar with the mouse cursor - ie trap when the component is changing it's cursor according to the action being performed then selectively repaint the cursors with my own versions. I really need to be able to listen for some sort of event being raised I think.
Does anyone know if this is even possible? Any code or links?
Many Thanks.
|
|
|
|
|
There is no notification that the mouse cursor was changed by an outside process. Since it can change just moving from control to control or window to window, this would get very tedious to handle.
I don't know of any way you're going to be able to handle this.
|
|
|
|
|
OK Dave, Thanks for the response. It's not the answer I wanted to hear though :{, I had hoped there was some way.
Regards
Mark
|
|
|
|
|
Hello,
i have an application where my user changes font and font color for different labels etc and they save it to a file but i need to be able to convert the font of the specified label to a string to be written to file, and then when they open that file my program will convert that string back into a font object. How can this be done? I haven't found anywhere that shows how it can be done.
thank you
bael
|
|
|
|
|
You have to do this yourself by creating a data structure or string that contains all the font characteristics. You then write that alongside your text, and when you read the file back, reinterpret the font details to display the text in the way you want.
MVP 2010 - are they mad?
|
|
|
|
|
When I try to use "Matrix" or "RotateTransform" Visual Studio complains that "type or namespace" could not be found. Do I need to install the DirectX SDK for these namespaces? MSDN reveals nothing helpful, and I cannot find anyone else having this problem.
I am simply trying to rotate a GDI object. Any help would be great, this has stumped me.. .
here are the namespaces I am using;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
|
|
|
|
|
You need to use following namespaces
System.Drawing.Drawing2D
System.Windows.Media.RotateTransform
|
|
|
|
|
|
The MSDN documentation always lists the namespace you need, see here[^].
Luc Pattyn [Forum Guidelines] [Why QA sucks] [My Articles]
I only read code that is properly formatted, adding PRE tags is the easiest way to obtain that. [The QA section does it automatically now, I hope we soon get it on regular forums as well]
|
|
|
|
|
Omg, so it is! Now I feel really stupid.. case of hurrying to find the code and failing to actually *read* the page. =)
|
|
|
|
|
When you type a "known" type into VS, Intellisense helps you by putting a red line under the final character. Hover the mouse over this, and the options for binding appear, listing the namespace required: add the using, or explicit reference. (You can get the red line back by placing the text entry caret anywhere in the type name.)
If Barbie is so popular, why do you have to buy her friends?
Eagles may soar, but weasels don't get sucked into jet engines.
If at first you don't succeed, destroy all evidence that you tried.
|
|
|
|
|
That sir is an excellent tip! Having removed the 2d namespace and typing "Matrix" intellisense did indeed highlight the last letter and popped out on click "System.Drawing.Drawing2d.Matrix" =) Wow, all these things telling me what namespace to use and I didn't see any of them!
|
|
|
|
|
Dear Friend,
Scenario
I have one grid view showing user access model having field as 'User'(Textbox), 'Group'(Dropdown), 'View' (Checkbox), 'Edit'(Checkbox) column.
I have on Data Set where i stored the data fetch from database.
now i bind this dataset to Grid View Control
DataSet ds = getData();
GridView1.DataSource = ds.Tables[0];
GridView1.DataBind();
Note: Where getData() method fetch the data from database.
Problem
i change only two record from all ten records, now i want to update only that record in my database how could i do this...
Actually i know DataSet having HasChange() Method which use to know the changes in dataset but dont know how to use it for the above scenario..
Please help me
Thanks and regard's in advance
Sasmi
|
|
|
|
|