如何把自己做的程序,在安装的时候添加到开机启动项里,最好能给详细的做法

解决方案 »

  1.   

    http://www.cnblogs.com/yuanermen/archive/2007/04/03/698012.html
      

  2.   

    在“开始->程序->启动”里添加。
      

  3.   

    vs在部署时有提示的,msdn上都有实例!
      

  4.   


    你将WinForm程序写好后,然后将程序打包好,就像我们使用的安装程序一样,然后你就像其他程序一样安装就可以了
      

  5.   

    http://www.cnblogs.com/xumingming/archive/2009/01/08/1371931.html
    http://www.cnblogs.com/gwazy/archive/2007/12/25/1014268.html
      

  6.   

    //注册表写入
                        RegistryKey hklm = Registry.LocalMachine;
                        RegistryKey run = hklm.CreateSubKey(@"Software\Microsoft\Windows\CurrentVersion\Run");                    run.SetValue("内装作业确认.exe", @"C:/Program Files/MetrologicCheck\内装作业确认.exe");                    hklm.Close();
      

  7.   

    注册表
    HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Run