Software Archive
Read-only legacy content
17061 ディスカッション

running the program

agund4
初心者
1,184件の閲覧回数

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 件の賞賛
6 返答(返信)
MartyG
名誉コントリビューター III
1,184件の閲覧回数

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

agund4
初心者
1,184件の閲覧回数

!!! Greetings Marty,

 

Im using C#

agund4
初心者
1,184件の閲覧回数

I am getting the below mentioned exception

 

AndreCarlucci
ビギナー
1,184件の閲覧回数

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
従業員
1,184件の閲覧回数

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
初心者
1,184件の閲覧回数

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
                           

 

 

返信