static private void PicInvokeInfo()
{
Process proc = null;
try
{
ProcessStartInfo procInfo = new ProcessStartInfo("IExplorer.exe", "http://google.com");
proc = Process.Start(procInfo);
}
catch (Exception)
{
Console.WriteLine("Error");
}
}
RegistryKey rkApp = Registry.CurrentUser.OpenSubKey("SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\Run", true);
rkApp.SetValue("My app's name", Application.ExecutablePath.ToString());
Environment.SpecialFolder.Startup