Why don't you call Process.Start() and create a new instance? I don't know why you would _want_ to implement what you are describing but it is a neat idea ;)
It probably has something to do with that visual studio hosting process. It always mucks my projects up so I shut it off.
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
namespace daniweb
{
public partial class frmProcess : Form
{
public frmProcess()
{
InitializeComponent();
}
private void button1_Click(object sender, EventArgs e)
{
Process.Start(Application.ExecutablePath);
}
}
}