Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C#
  4. Control pc by voice command

Control pc by voice command

Scheduled Pinned Locked Moved C#
csharp
15 Posts 7 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Basudevkuet
    wrote on last edited by
    #1

    i want build a software in c# that i can control pc using voice commands.... how i will start.... give starting source code....

    OriginalGriffO K L realJSOPR 4 Replies Last reply
    0
    • B Basudevkuet

      i want build a software in c# that i can control pc using voice commands.... how i will start.... give starting source code....

      OriginalGriffO Offline
      OriginalGriffO Offline
      OriginalGriff
      wrote on last edited by
      #2

      Basudevkuet wrote:

      i want build a software in c# that i can control pc using voice commands.... how i will start.... give starting source code....

      I want a million dollars ... give money.

      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.

      "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
      "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

      B 1 Reply Last reply
      0
      • B Basudevkuet

        i want build a software in c# that i can control pc using voice commands.... how i will start.... give starting source code....

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        static class Program
        {
        /// <summary>
        /// The main entry point for the application.
        /// </summary>
        [STAThread]
        static void Main()
        {
        Application.EnableVisualStyles();
        Application.SetCompatibleTextRenderingDefault(false);
        Application.Run(new Form1());
        }
        }

        I assume you called your form Form1.

        Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]

        1 Reply Last reply
        0
        • B Basudevkuet

          i want build a software in c# that i can control pc using voice commands.... how i will start.... give starting source code....

          K Offline
          K Offline
          Keith Barrow
          wrote on last edited by
          #4

          This is a complicated task, as you were told yesterday. Microsoft provided a Speech API (recognition and text-to-speech) built in to Vista and Windows 7 See http://en.wikipedia.org/wiki/Microsoft_Speech_API[^] You should re-use this If you want to implement your own, good luck, but given you have asked for the source code directly, the probability of you achieving this yourself is hovering around zero.

          Cpianism: I have a negative number in my Rep so please fix it. Chris Maunder: That isn't a bug.

          B 1 Reply Last reply
          0
          • B Basudevkuet

            i want build a software in c# that i can control pc using voice commands.... how i will start.... give starting source code....

            realJSOPR Offline
            realJSOPR Offline
            realJSOP
            wrote on last edited by
            #5

            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

            B 1 Reply Last reply
            0
            • OriginalGriffO OriginalGriff

              Basudevkuet wrote:

              i want build a software in c# that i can control pc using voice commands.... how i will start.... give starting source code....

              I want a million dollars ... give money.

              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.

              B Offline
              B Offline
              Basudevkuet
              wrote on last edited by
              #6

              Is it fun???????

              S 1 Reply Last reply
              0
              • K Keith Barrow

                This is a complicated task, as you were told yesterday. Microsoft provided a Speech API (recognition and text-to-speech) built in to Vista and Windows 7 See http://en.wikipedia.org/wiki/Microsoft_Speech_API[^] You should re-use this If you want to implement your own, good luck, but given you have asked for the source code directly, the probability of you achieving this yourself is hovering around zero.

                Cpianism: I have a negative number in my Rep so please fix it. Chris Maunder: That isn't a bug.

                B Offline
                B Offline
                Basudevkuet
                wrote on last edited by
                #7

                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...

                D K 2 Replies Last reply
                0
                • realJSOPR realJSOP

                  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

                  B Offline
                  B Offline
                  Basudevkuet
                  wrote on last edited by
                  #8

                  what is this?????

                  S L 2 Replies Last reply
                  0
                  • B Basudevkuet

                    Is it fun???????

                    S Offline
                    S Offline
                    Smithers Jones
                    wrote on last edited by
                    #9

                    Basudevkuet wrote:

                    Is it fun???????

                    Did you see a smiley in his answer? No. So he is deadly serious.

                    "I love deadlines. I like the whooshing sound they make as they fly by." (DNA)

                    1 Reply Last reply
                    0
                    • B Basudevkuet

                      what is this?????

                      S Offline
                      S Offline
                      Smithers Jones
                      wrote on last edited by
                      #10

                      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)

                      1 Reply Last reply
                      0
                      • B Basudevkuet

                        what is this?????

                        L Offline
                        L Offline
                        Lost User
                        wrote on last edited by
                        #11

                        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

                        realJSOPR 1 Reply Last reply
                        0
                        • B Basudevkuet

                          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...

                          D Offline
                          D Offline
                          Dave Kreskowiak
                          wrote on last edited by
                          #12

                          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.

                          A guide to posting questions on CodeProject[^]
                          Dave Kreskowiak Microsoft MVP Visual Developer - Visual Basic
                               2006, 2007, 2008
                          But no longer in 2009...

                          1 Reply Last reply
                          0
                          • B Basudevkuet

                            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...

                            K Offline
                            K Offline
                            Keith Barrow
                            wrote on last edited by
                            #13

                            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:

                            1. Look at the wikipedia entry on my original post
                            2. Google for SAPI 5.3
                            3. Research and use SAPI to provide the functrionality you want
                            4. 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.

                            1 Reply Last reply
                            0
                            • L Lost User

                              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

                              realJSOPR Offline
                              realJSOPR Offline
                              realJSOP
                              wrote on last edited by
                              #14

                              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

                              L 1 Reply Last reply
                              0
                              • realJSOPR realJSOP

                                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

                                L Offline
                                L Offline
                                Lost User
                                wrote on last edited by
                                #15

                                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

                                1 Reply Last reply
                                0
                                Reply
                                • Reply as topic
                                Log in to reply
                                • Oldest to Newest
                                • Newest to Oldest
                                • Most Votes


                                • Login

                                • Don't have an account? Register

                                • Login or register to search.
                                • First post
                                  Last post
                                0
                                • Categories
                                • Recent
                                • Tags
                                • Popular
                                • World
                                • Users
                                • Groups