BlueCandy
BlueCandy

Reputation: 23

How to start a process when application run?

I want to add a process to my application, the process should be started to listen some events when the application run. I searched in Internet, and I didn't find answers...

Some people said that could use "Application.Run", but I didn't find this function in VB.NET project. Did I miss it?

Upvotes: 2

Views: 585

Answers (1)

Yet Another Geek
Yet Another Geek

Reputation: 4289

Use the Process.Start static method, under System.Diagnostics namespace. You should be able to just write the path to the file and it should start it.

Upvotes: 1

Related Questions