0

Possible Duplicate:
How to start a process from C# (WinForms)

I developed a speech recognition application. Now, all I want to do is something like

if(voiceRecognize == browser)
   //Open a browser

I think you understand what I mean. I know it is possible but how can I perform this task??

Any sample code or tutorial link will be appreciated.

Thanks

Community
  • 1
  • 1
Adnan
  • 8,468
  • 9
  • 29
  • 45

1 Answers1

1

Take a look at Process.Start(). You may be able to launch an actual webpage kinda like this:

Process.Start("\"%ProgramFiles(x86)%\Internet Explorer\iexplore.exe\" /\"http://www.google.com\"");
jwatts1980
  • 7,254
  • 2
  • 28
  • 44