Reputation: 361
is there any way for me to open an WPF application from a WinForms app ?
I've been trying this
ProcessStartInfo procInfo = new ProcessStartInfo(@"path-to-app-exe");
But no luck, hope someone can give me some pointers.
Thanks /sushiBite
Upvotes: 1
Views: 161
Reputation: 30883
If you do not need any advanced settings for startinfo use Process.Start method like this:
Process.Start(@"path-to-app-exe");
Upvotes: 3
Reputation: 3327
you have to call the start method on a process object:
Process it = new Process();
it.StartInfo = procInfo;
it.Start();
Upvotes: 0