Software Archive
Read-only legacy content
17060 Discussões

running the program

agund4
Novato
2.230 Visualizações

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 Respostas
MartyG
Colaborador honorário III
2.230 Visualizações

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

agund4
Novato
2.230 Visualizações

!!! Greetings Marty,

 

Im using C#

agund4
Novato
2.230 Visualizações

I am getting the below mentioned exception

 

AndreCarlucci
Principiante
2.230 Visualizações

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!

Felipe_P_Intel
Funcionário
2.230 Visualizações

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

agund4
Novato
2.230 Visualizações

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
                           

 

 

Responder