I am trying to write an aspx page containing a button whose click event should result in opening of a WPF form for further processing. I am trying to use a new process object to launch the WPF application.
I am using the following code in the code behind:
protected void Btn_Click(object sender, EventArgs e) { Process WPF = new Process(); WPF.StartInfo.FileName = "WpfApplication1.exe"; WPF.Start(); }
On execution, the button click executes without any exception, but the WPF window is not opened.
Can someone please help me.
Thanks.