Software Archive
Read-only legacy content

running the program

agund4
Novice
1,011 Views

Hello Team,

 

I have program A which recognises  gestures.

I have program B which catches my speech.

Initially i will run the Program A where it moniters for a particular gesture. When the required gesture is  fired it should Program B.

Kindly help me with the required piece of code. and the location where B.exe should be placed.

0 Kudos
6 Replies
MartyG
Honored Contributor III
1,011 Views

What are you building your program with please?  (C#, Java, Unity, etc).  That will help people to answer your question.  Thanks!

0 Kudos
agund4
Novice
1,011 Views

!!! Greetings Marty,

 

Im using C#

0 Kudos
agund4
Novice
1,011 Views

I am getting the below mentioned exception

 

0 Kudos
AndreCarlucci
Beginner
1,011 Views

Hi,

The problem is that notepad.exe is not on that location.

Try something like:

Process.Start(@"C:\Windows\notepad.exe");

or

Process.Start(@"C:\Windows\System32\notepad.exe");

Cheers!

0 Kudos
Felipe_P_Intel
Employee
1,011 Views

Hi Aravind,

As André said, maybe the notepad is not on that location that you are using. You could check if the file exists or not using the C# API: https://msdn.microsoft.com/en-us/library/system.io.file.exists(v=vs.110).aspx

Regards,

Felipe

0 Kudos
agund4
Novice
1,011 Views

Hi Felipe & Andre,

 

!! Greetings

My application file is in .cs format.

When i try to open  with the below line i am getting the  error.(attached in this comment)

  System.Diagnostics.Process.Start(@"C:\Users\USER3\Documents\RSSDK\Samples\DF_SpeechRecognition.cs\bin\x64\Debug\DF_SpeechRecognition.cs");

 

I am unable to get the .exe file for speech rocognisation in browser sample.

 

Thanks in advance
                           

 

 

0 Kudos
Reply